Configuration error

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.
1/26/2008 8:49:58 AM
Gravatar
Total Posts 4

Configuration error

Hi,

I created files Resources.sr-SP.Cyrl.resx and ProfileResources.sr-SP.Cyrl.resx (Serbian - Cyrillic translation of Resources.resx and ProfileResources.resx files). I changed web.config. I uploaded these files to the App_GlobalResources folder. But,  now I have error:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The <globalization> tag contains an invalid value for the 'culture' attribute.

Source Error:

Line 430:
Line 431: <globalization
Line 432: culture="sr-SP-Cyrl"
Line 433: uiCulture="sr-SP-Cyrl"
Line 434: requestEncoding="utf-8"

 

Culture name is OK. What is wrong?

1/26/2008 9:06:03 AM
Gravatar
Total Posts 18439

Re: Configuration error

Hi,

I just did a quick search on this and found this blog past which may be helpful. Apparently some of the culture names used by MS were not compliant with RFC 4646 so they were renamed in some service pack or update to bring them into compliance.

So try using sr-Cyrl-BA

However, be aware that if you set the default culture to something other than en-US, its up to you to make sure all the resource files are not missing any keys. If there are any missing keys in the default resource files it can throw null reference exceptions when it tries to use the missing key.

If you make a translation please contribute it to the project. If you make a .zip file with the translations and send them to me at joe dot audette at g mail dot com I will include them for you.

Thanks,

Joe

1/26/2008 10:14:18 AM
Gravatar
Total Posts 4

Re: Configuration error

Hi,

I found sr-Cyrl-CS is "correct" name. I will send you translation when I finish both Cyrillic and Latin version.

Thank you for answer,

Nikica

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