tickets #92839
openAllow language switch in the URL for www.opensuse.org
0%
Description
Hi,
The main website (https://www.opensuse.org/) does not allow language in the URL (https://www.opensuse.org/pt_BR), it returns 404.
On the other hand, Get openSUSE does (https://get.opensuse.org/pt_BR/).
If one wants to post the main link in a community forum, website, or else, there's no way to force into that country/region's language.
The subdomain country code URL (https://pt.opensuse.org/) is actually the Wiki page and not the main website, also confusing.
It would be nice to follow a pattern in the URLs and have one single thing that works for all URLs, but most importantly, allow the main website to have a language selector in the URL.
The problem that I see with the main website is that languages come as a JSON and not a new page, that's why there's no way to select a URL, but it could still be implemented using query parameters.
Updated by pjessen almost 3 years ago
- Private changed from Yes to No
avicenzi wrote:
It would be nice to follow a pattern in the URLs and have one single thing that works for all URLs, but most importantly, allow the main website to have a language selector in the URL.
I probably don't quite understand the reasoning, but doesn't content negotiation take care of this?
Updated by avicenzi almost 3 years ago
pjessen wrote:
avicenzi wrote:
It would be nice to follow a pattern in the URLs and have one single thing that works for all URLs, but most importantly, allow the main website to have a language selector in the URL.
I probably don't quite understand the reasoning, but doesn't content negotiation take care of this?
The language selection in the wiki is by domain, such as https://en.opensuse.org/ and https://pt.opensuse.org/
The language selection in "Get openSUSE" is by a path in the URL, such as https://get.opensuse.org/pt_BR/
The language selection in the main website is by a combo on the UI, there's no way to do it with URL, https://www.opensuse.org/pt_BR, does not work and https://pt.opensuse.org/ is the wiki
Each website does in a different way, and the worst, there's no way (that I know of) to share a translated version of the main website on social networks.
Ideally
The wiki should be https://wiki.opensuse.org/ and the translations live in https://wiki.opensuse.org/pt_BR/
The main website should be https://www.opensuse.org/ and the translations in https://www.opensuse.org/pt_BR/
And for "Get openSUSE", I'm not sure why there is this domain, it could be just https://www.opensuse.org/download/ and https://www.opensuse.org/pt_BR/download/
I believe in consistency and to me, it just seems odd all these domains and the way they are used, besides, not all are easily translated with just a URL change.
The reasoning behind this is because we started a few social networks in Brazil, and it would be nice to share the proper URL in the language that we need, and also, for some content to be easily translated into our languages, such as blog posts and other "news" that live in our websites.
Updated by avicenzi almost 3 years ago
hellcp wrote:
That's planned for the future
Let me know if I can help.
Updated by crameleon 11 months ago
- Status changed from New to Closed
I am able to use the language selection menu in the footer of https://www.opensuse.org/ without any apparent issues. I tried Russian and Portuguese.
Updated by avicenzi 11 months ago
crameleon wrote:
I am able to use the language selection menu in the footer of https://www.opensuse.org/ without any apparent issues. I tried Russian and Portuguese.
Yes, it is possible, and the original issue was not about not being able to switch the website language, but about not being able to use a URL to switch the language.
Not sure why this was closed, while there's a comment about this being a planned feature.
Updated by pjessen 11 months ago
- Status changed from Closed to New
- Assignee deleted (
hellcp)
avicenzi wrote:
crameleon wrote:
I am able to use the language selection menu in the footer of https://www.opensuse.org/ without any apparent issues. I tried Russian and Portuguese.
Yes, it is possible, and the original issue was not about not being able to switch the website language, but about not being able to use a URL to switch the language.
Not sure why this was closed, while there's a comment about this being a planned feature.
Perhaps because nothing has happened in over two years. We don't actually have any list of planned features :-)