Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localization
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Localization
Divers
Thread ID:
00978505
Message ID:
00978505
Vues:
68
Hi,

I'm trying to put localization support into our application. The problem is that the form/control captions do not switch to the user's language at runtime until I go into the language setup window and choose the language from the dropdown list. In other words, the form's controls keep their design-time caption text at runtime until I manually activate the language setup menu bar.

This behavior is also present when there is only one language in the language table (eg; renaming the default English language to Norwegian and changing the english text in the message table to norwegian text). I have tried having the language tables in the application's database as well as in a separate language database, both give the same problem.

I have done the following :

1. Used scripts MMLocalize.sql and MMSecurity.sql
2. Set key LocalizeApp in app.config to the value "true"
3. Set key DefaultLanguage in app.config to the value "2"
4. Run the application and put in Norwegian as a language (which has a primary key of 2)
5. Changed the language of user MM to Norwegian.

The menu captions are still in English (the language of the caption at design time) when I log in with user MM. It is not until I choose the File -> Lokalization Setup... that the captions change to the desired language. How do I ensure that the user's language is loaded at login?

Sincerely,

Einar
Répondre
Fil
Voir

Click here to load this message in the networking platform