Ektron supports multilingual content. This section lists steps to follow when setting up such a site.
web.config
, make sure multilingual support is enabled. See Working with Multi-Language Contentweb.config
. See Working with Multi-Language ContentWhen thinking about setting up your Web site to support content in multiple languages, consider the following tasks:
If a template’s text should change according to a user’s language selection, use a case statement to provide the language-specific content. A good example of this is the template used on the RC international sample site.
Assume you want to create editions of the menu that runs under the header in 3 languages: English, French, and German:
NOTE: This procedure uses the header.asp file delivered with the RC international sample site as an example.
Dim t_search, t_products, t_support, t_news, t_careers, t_calendar, t_home, t_login, t_site_lang, t_contact, t_copyright, calendar_id
Select Case ContentLanguage Case "1031" t_search = "Suche" Case "1036" t_search = “Recherche" Case else t_search = "Search" End Select
Now, when a user visits a page controlled by this template and selects French or German as the site language, the page is refreshed and the translated values appear on the template.
Many Web page templates also include images that require translation. You can set up templates to invoke images in the user-selected language by following these steps.