Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


WebSite resources and javascript

Hi ,

I translate a web site and it works fine, but my problem is when I publish the web site over the IIS and open the pages and click any buttons, the client alerts (JavaScript strings) not translated always shown on the defalut language, also the source code (.cs) shown in the default language.

My site contains the Arabic as default language and translated to English.
if login as English the design show in English but the source code and JavaScript shown in Arabic.

Notice that on the development server everything is work fine and translated correctly.

Please let me know how to solve this issue, or is their any missed file I must publish over the IIS.

__See the attached images,
1. I logged in using the english language
2. I click a delete button but the javascript shown in Arabic not in english
and the design is right (in english).
__

Thank you

Germany

Hi zead,

sorry that it has taken me a week to reply to this.

If it is working on your development server, but not on the live server, it must mean that some required file is missing.

My guess it that you need to copy the files:

  • MultiLang.resx
  • MultiLang.Designer.cs (or.vb)
  • MultiLang.en.resx
  • MultiLang.ar.resx

to the directory App_GlobalResources.

Phil