Localization - Language Selector, Nav and Footer Localization
Step 1: What is changing in this MR?
DNM. Tentative release date on or around May 21, 2023.
MR to show the localization work being completed in the navigation repo
- Epic with all the work done and to be done
- Language Selector Issue with all the technical details of the implementation
How to test?
The Navigation project's language selector implementation heavily relies on the presence of routes and pages, which are not available in the standalone project. Therefore, it's crucial to create a testing MR in both the Buyer Experience
and www-gitlab-com
projects to ensure the selector functions correctly.
Available pages per Application
Buyer Experience:
Review Apps:
- Homepage
- /teamops
- /enterprise
- /small-business
- /sales
- /free-trial
- /software-faster
- /topics/devops-platform
- /platform
www-gitlab-com
- Coming soon...
Language Selector Icon
The language selector icon will only be visible on pages that support localization, such as /enterprise
or /small-business
. When the icon appears, users can select their preferred language and then be redirected to the localized version of the current page. The preferred language will be saved in the local storage, so when users move to a page that supports localization, they will automatically see the localized version in their selected language.
Transition between localized and unlocalized pages
When a user transitions from a localized page, such as /de-de/small-business
, to an unlocalized page like /install
, the application will seamlessly redirect them to the unlocalized /install
page. Conversely, when a user navigates from an unlocalized page, such as /install
, to a page that supports localization, such as /enterprise
, the application will automatically redirect them to their preferred language localized page, such as /de-de/enterprise
.
related buyer-experience#2411 (closed)
related #123 (closed)