Globalization Support in Xomega 7.8

Xomega release 7.8 has added support for globalization of the business services to allow translating messages to the language of the request and overriding framework’s default messages, and uses the current request culture for date operations as follows.

Error messages read from resources for globalization.

The text for error messages from the Xomega Framework as well as server-side validations is now read from the resource files, allowing to provide such texts in multiple languages, and return localized error messages in the language of the service request.

Ability to override and translate text for message from referenced libraries.

The default implementation of the ResourceManager in the .Net framework allows reading the text only from a specific resource or its satellite localizations. As a result, when such resources come from a third party library, such as the Xomega Framework itself, the application has no way of customizing the text of the messages used by that library.

With addition of the CompositeResourceManager in the Xomega Framework, you will be able to not only translate the framework’s messages into another language, but also override the default (English) text for some of those messages.

Use of request culture for date operations.

In addition to translation of the error messages, the services can use the current request's culture for date operations. For example, when filtering dates for the current week, Xomega Framework will use the current culture to determine the first day of the week, i.e. Sunday or Monday.

No comments:

Post a Comment