Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing localization
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Implementing localization
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01141960
Message ID:
01141960
Vues:
50
I have implemented the localization option. I am able to call up the translation screen and save my changes. I even got the autoincrement function to work on the primary key. However, when the record is saved, it always makes the dialogtext field false, despite the fact that my default value is set to true.

In tracing through the code, it looks like it is storing the value of the check box indicating whether or not system messages should be shown on the translation screen as the value for the dialogtext field.

This is the code line showing the parameters that are expected.
	public virtual bool SaveTranslatedText(string messageKey,
			string translatedText, object languagePK, bool DialogText)
This is the code showing the parameters passed.
        mmAppBase.MessageMgr.SaveTranslatedText(OriginalText, this.txtTranslatedText.Text, Language,
            this.chkShowSystemMessages.Checked);
Also, I added an mmLanguageChooser control to the header in my Master page so it is available for each form. Even though I have entered translated values for several labels, the text does not change on the form. What have I missed?

Thanks.

Linda
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform