Translate registration labels

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.
7/25/2010 10:05:48 AM
Gravatar
Total Posts 33

Translate registration labels

Hello!

I want to add new fields for the registration page but if I label them with Swedish character (åäö) I get an ASP error. Where should I add labels that converts from the mojoProfile.custom file and how do I preserve that they don't be overwritten in the next update?

 

/Kent

7/26/2010 7:25:11 AM
Gravatar
Total Posts 18439

Re: Translate registration labels

Hi,

You could create a custom resource files MyCustomResources.resx should be the English version and MyCustomResources.sv.resx for the Swedish version, put them in the App_GlobalResources folder and specify the resourceFile setting when configuring your custom profile field. For the resourceFile name you would use MyCustomResources without any extension. Then use a labelResourceKey with English chars to avoid the error. Use the same English keys in your resource file and then enter the Swedish translation in the Swedish version of the file.

http://www.mojoportal.com/userprofileconfiguration.aspx

Hope it helps,

Joe

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