Language Preferences

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/26/2009 1:20:42 AM
Gravatar
Total Posts 125

Language Preferences

I have a site with two versions in related mode: English and German, is there a way I can display the German language resources without changing the browses language preference? For example, when I browse to the German version, all the German language resources files populate. but the default language of the browser is still English. I am not sure I have make this clear?

Thanks

11/26/2009 1:43:15 AM
Gravatar
Total Posts 550

Re: Language Preferences

Hi,

You can change this line in web.config for first site.Remove auto: and change fa-IR with you culture code.

<globalization culture="auto:fa-IR" uiCulture="auto:fa-IR" requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="iso-8859-15" />

And for related site I see these options in we.config that I think you can solve your problem by touching these:



<!-- this setting allows you to force specific cultures for specific sites

I recommend that you don't do this unless you have a specific reason to.

You would also need to know the siteid of each site and specify it here like this:

<add key="site1culture" value="en-US" />

<add key="site2culture" value="nl-NL" />

-->

<add key="UseCultureOverride" value="false" />

<add key="DefaultCountry" value="US"/>

 

Hope Helps

Asad

 

11/26/2009 2:20:33 AM
Gravatar
Total Posts 125

Re: Language Preferences

Thank you, Asad. It works great! Laughing

 

You must sign in to post in the forums. This thread is closed to new posts.