Multiple sites on one installation using different cultures - again

This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.

This thread is closed to new posts. You must sign in to post in the forums.
12/17/2011 1:48:18 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Multiple sites on one installation using different cultures - again

Hi,

I am sorry to open new issue about this, but I need to understand what exactly to change in web.config to have the next scenario:

1. The site is multilingual and related sites (all are in one installation and use the same user for all languages).
2. The main site (site1) is Arabic and the second is English, then Russian...etc

and should I use the commented keys :

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

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

now which values of the next keys should I change to recieve this gole?

<addkey="UseCultureOverride"value="false" />
<addkey="DefaultCountry"value="US" />
<addkey="AutoSuggestFriendlyUrls"value="true" />
<addkey="ForceFriendlyUrlsToLowerCase"value="true" />
<globalizationculture="auto:en-US"uiCulture="auto:en-US"requestEncoding="utf-8"responseEncoding="utf-8"fileEncoding="iso-8859-15" />

12/19/2011 2:11:08 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: Multiple sites on one installation using different cultures - again

I am sorry, but the question can be as next:
should I change all these values to make my gole or one of them?
should I change

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

<globalizationculture="auto:en-US"uiCulture="auto:en-US"requestEncoding="utf-8"responseEncoding="utf-8"fileEncoding="iso-8859-15" /> at the same time or one of them is enogh?
I mean is there one method or more for that?


and the value of <addkey="UseCultureOverride"value="false" />  must be changed to true always or not?
and what the value <addkey="DefaultCountry"value="US" />  is for?

The truth that I read all what wrote about this issue, but there were no clear direct answer..thats all!

any tips?

12/19/2011 7:35:27 AM
Gravatar
Total Posts 18439

Re: Multiple sites on one installation using different cultures - again

Hi Ghalib,

You should not change the <globalization element (except you can change the fileEncoding if you need to), that settings makes it fall back to English for missing resource keys and if you change it to something else it will cuase null exceptions for missing keys.

You can force a specific language/culture per site as documented here. Those instructions are complete, there are no other settings needed. The CultureHelperHttpModule uses those settings to set the thread culture, so the only other thing to check is to make sure this module is not commented out in Web.config.

The DefaultCountry setting is only used in the CountryStateSetting.ascx to set a default if no other selection has been made.

Hope that helps,

Joe

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