BrokenRules localization


Author
Message
Jiri Brazda
Jiri Brazda
StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)
Group: StrataFrame Users
Posts: 78, Visits: 356
Hi,

I need to set broken rules and corresponding texts to a particular language (e.g. Czech). In windows application in works fine since Czech texts are built into StrataFrame core. With the web application broken rules texts are still in English even when the localization is set to 1029 and all texts read from XML are in Czech version.

I set localization in Application_Start method in Global.asax file with the following code:

MicroFour.StrataFrame.UI.Localization.MessageKeyType = MicroFour.StrataFrame.Messaging.MessageKeyDataType.XML;

MicroFour.StrataFrame.UI.Localization.MessageXmlPath = ConfigurationManager.AppSettings["LocalizationFilesPath"];

MicroFour.StrataFrame.UI.Localization.MessageLocaleID = 1029;

Am I doing something wrong?

Thank You

Jiri Brazda


Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
What pre-built text are you referring to here?  I can't think of anything that would apply on the web side.
Jiri Brazda
Jiri Brazda
StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)
Group: StrataFrame Users
Posts: 78, Visits: 356
Well here is the example: when I try to save a record with an empty field that is contained in required field collection, I receive the following message:

"This field requires entry."

My MessageLocaleID is set to 1029. In winForms application this text is localized automatically from built-in texts.

If this is not supported in web apps, I will do it manually...


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search