Project

General

Profile

tickets #92839

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

Added by avicenzi about 1 year ago. Updated 12 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.

History

#1 Updated by pjessen about 1 year 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?

#2 Updated by avicenzi about 1 year 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.

#3 Updated by hellcp about 1 year ago

  • Assignee set to hellcp

That's planned for the future

#4 Updated by avicenzi about 1 year ago

hellcp wrote:

That's planned for the future

Let me know if I can help.

#5 Updated by lrupp 12 months ago

  • Category set to Project work

Also available in: Atom PDF