Nop Commerce 1.10 Multilanguage

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 anni tempo fa
You are doing a great job and very nice release.

I have some notes:
1. From the Administration Area I can't find a way to localize the static pages (like SHIPPING & RETURNS, PRIVACY POLICY, CONDITIONS OF USE, Contact Us, Copyright statement) its should be different by language.
2. When using RTL (Right To Left) language we need to edit some of pages and change the page direction depending on the language direction.
3. some resources are not localized (like Forgot password?).

I will localize it to my language (Arabic and RTL page direction) and I will post the steps here very soon.
15 anni tempo fa
Steps to localize NopCommerce1.10 in Arebic Language (RTL):
1. Goto Administration Area -> Content management -> Localization -> choose Arabic Language and add a new Resource name Others.PageDirection and set the value to RTL.

2. Open main.master page and replace this
<html xmlns="http://www.w3.org/1999/xhtml">

by this
<html xmlns="http://www.w3.org/1999/xhtml"  dir="<%=GetLocaleResourceString("Others.PageDirection")%>">


3. Make a copy on publicStore Theme folder and rename it to publicStoreRTL.

4. Make any necessary changes (alignment, floating, font-family, ...).

5. Open the App_Code/BaseNopPage.cs page and put this code inside the class
protected void Page_PreInit(object sender, EventArgs e)
{
   if (GetLocaleResourceString("Others.PageDirection") == "RTL")
      Page.Theme = "publicStoreRTL";
   else
      Page.Theme = "publicStore";
}



I will update this post for any new changes.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.