Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP1 (5.2.5)
-
All
Description
The language of a page can be set using URLs of the form http://localhost/locale/... For example: http://localhost/zh_CN/web/guest/home will display the default page in Chinese. However, only German and Chinese are enabled by default. To enable additional languages, something like the following needs to be added to web.xml for each language:
<servlet-mapping>
<servlet-name>I18n Servlet</servlet-name>
<url-pattern>/fr/*</url-pattern>
</servlet-mapping>
This update enables this URL format for all supported languages by default by adding the above XML to web.xml automatically.
Attachments
Issue Links
- is related to
-
LPS-5231 SourceFormatter should ensure that all locales in portal.properties has a I18nServlet mapping in web.xml
- Closed