Project

General

Profile

Actions

tickets #92839

open

Allow language switch in the URL for www.opensuse.org

Added by avicenzi almost 3 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Project work
Target version:
-
Start date:
2021-05-19
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

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?

Actions #2

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.

Actions #3

Updated by hellcp almost 3 years ago

  • Assignee set to hellcp

That's planned for the future

Actions #4

Updated by avicenzi almost 3 years ago

hellcp wrote:

That's planned for the future

Let me know if I can help.

Actions #5

Updated by lrupp over 2 years ago

  • Category set to Project work
Actions #6

Updated by crameleon 10 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.

Actions #7

Updated by avicenzi 10 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.

Actions #8

Updated by pjessen 10 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 :-)

Actions

Also available in: Atom PDF