quarkusio.github.io
quarkusio.github.io copied to clipboard
Include language selector into navigation
Describe the bug The Quarkus Community are porting versions of the site into localized languages but the current navigation doesn't take into consideration how users can navigate to the various localized sites.
currently, we have japanese (https://ja.quarkus.io/) but a version in chinese is currently in the works.
Which pages All pages.
@ynojima - Since you commented on the PR for the original commit. I wanted to ask you a question. For better usability, I want to change the world "Japanese" to be written in actual Japanese. So native speakers will find it easier.
A google search says I should use this 日本語
Is this correct?
Yes, "日本語" is an appropriate translation for "Japanese". Thanks!
Thanks!
If I may ask, it would be great if the language selector link is linked to the corresponding page.
For example, when I click the language selector link in "https://quarkus.io/container-first/", it should navigate to "https://ja.quarkus.io/container-first/" instead of "https://ja.quarkus.io/".
If I may ask, it would be great if the language selector link is linked to the corresponding page.
For example, when I click the language selector link in "https://quarkus.io/container-first/", it should navigate to "https://ja.quarkus.io/container-first/" instead of "https://ja.quarkus.io/".
I see a couple issues with that approach:
-
I don't think this either of our current link locations would be the proper location for a link that functions that way. Users expect those links to take them to another page all together and not to refresh the existing page. The action you are describing would be an on-page link for "Translate Page". This way the user expects to change the page's language.
-
As I'm aware of the current state of translations, not all pages are translated. And if a user on a translated site hits a page that wasn't translated, they get the canonical page in English. This could lead to user confusion if the user is expecting that the link to function as a page translator and tries to switch a page that doesn't have the non-English version and gets served the English version on the translated URL.
Thank you for clarification. I get it!