-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.X, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP35, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X, 7.1.0 M1, 7.1.X, Master
-
Component/s: Content Display Widgets > Language widget
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
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.
- relates
-
LPE-16321 Language of a page does not properly change when adding a locale to the URL
-
- Closed
-