Note: Localization, as described in this topic, only works with an MVC Web Application Project. Refer to Creating an MVC Web Application for more information
ClearPath ePortal Developer includes built-in support for localizing the text data contained in ePortal Client, Server, and Common messages. In particular, you can configure every type of ePortal data source to generate a resource file for each message that contains localizable strings. The strings that are localized include the description and title for the message, as well as the label, description, and prompt for each field in the message; the label is used to label form fields, the description typically becomes a tool tip, and the prompt becomes a textbox placeholder. In addition, for lists type fields such as enumerated types, the display text for each list item is also localized.
ClearPath ePortal generates a resource file for the default language, and you can add additional resource files to support additional languages. All resource files are compiled automatically during the build and are included as satellite assemblies with the data source DLL. These resource files are then consumed by an MVC web presentation.
When an end-user runs a browser to connect to your MVC web presentation, the browser sends the language that is in use. If a corresponding resource file is found, the web server supplies the correct strings for that language; otherwise, the default resource file is used. This means that different users can see your single MVC web presentation in different languages.
Refer to the following topics for configuring MVC presentation projects for localization: