Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.X, Master
-
7.0.x, 6.2.x
-
Committed
-
1
-
3
-
Localization
Description
Preconditions
- Define following property to the portal-ext.properties: locale.prepend.friendly.url.style=0
Steps
- Create a new web site: etic
- Configure languages for the site:
- Default Language: English (United States)
- Available Languages - Current: Spanish (Spain), Catalan (Spain) and English (United States)
- Add a page. "home" (English). "inicio" (Spanish). "inic" (Catalan)
- Add a page. "research" (English). "investigacion" (Spanish). "invest" (Catalan)
- Add a page. "tech" (English). "tecnologia" (Spanish). "tecnol" (Catalan)
- Add the language selector portlet in each page.
Case A:
- Manually force the locale for the English in the browser URL, using group friendly URL: http://localhost:8080/en/web/etic
- Change the language to Spanish or Catalan using the language selector.
Observed behaviour
Language is not changed.
URL is still http://localhost:8080/en/web/etic
Expected behaviour
Language is changed.
Case B:
- Manually use following URL: http://localhost:8080/web/etic
- Change the language to Spanish or Catalan using the language selector.
Expected and observed behaviour
Language is changed.
Case C:
- Manually force the locale for the English in the browser URL, pointing at home page: http://localhost:8080/en/web/etic/home
- Change the language to Spanish or Catalan using the language selector.
Expected and observed behaviour
Language is changed.
Case D:
- Manually use following URL: http://localhost:8080/web/etic/home
- Change the language to Spanish or Catalan using the language selector.
- Manually force the locale for the English in the browser URL, pointing at same page: http://localhost:8080/en/web/etic/home
- Change the language to Spanish or Catalan using the language selector.
Expected and observed behaviour
Language is changed.
Attachments
Issue Links
- relates
-
LPE-16321 Language of a page does not properly change when adding a locale to the URL
-
- Closed
-