Project

General

Profile

Task #2953

www.libreoffice.org should redirect to environment (locale) setting

Added by . Óvári over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
High
Assignee:
Category:
Website
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:
URL:

Description

When typing the LibreOffice URL (www.libreoffice.org or libreoffice.org) in a web-browser, it currently always goes to the English language edition (https://www.libreoffice.org/). It should go to the language locale edition of LibreOffice.

Steps to Reproduce:
1. Set the locale to hu (Hungarian)
2. Type libreoffice.org into the address bar of a web-browser

Actual Results:
3. The LibreOffice English version opens, i.e. https://www.libreoffice.org/

Expected Results:
3. The LibreOffice Hungarian version opens, i.e. https://hu.libreoffice.org/
or perhaps the website needs a paradigm shift and the webpage that opens is:
https://wwww.libreoffice.org/hu
or
https://www.libreoffice.org/?lang=hu
or
https://www.libreoffice.org/?hl=hu

This has been implemented with:

What do you think?

Thank you

https://bugs.documentfoundation.org/show_bug.cgi?id=126562

History

#1

Updated by Florian Effenberger over 1 year ago

There IIRC is a ticket somewhere about showing a banner on the websites
when the page opened differs from the browser locale. I can't find the
ticket ID at the moment, but I think that Jean Spiteri was working on it
- maybe some other approach we can consider too?

#2

Updated by Jean Spiteri over 1 year ago

  • Assignee set to Jean Spiteri

The issue being mentioned here is #2032. I'll assign it to myself. I won't touch it for the other settings (whether it is a duplicate or the priority is right).

#3

Updated by . Óvári over 1 year ago

Does PHP User Agent Language Detection https://techpatterns.com/downloads/php_language_detection.php help?

#4

Updated by Jean Spiteri over 1 year ago

The current patch has been reuploaded to the test site. You can see it from https://newdesign.libreoffice.org/events-map/. Does this fit the request?

#5

Updated by Jean Spiteri over 1 year ago

Please note that the language detection is not working because of the way the site is built. The problem will fix itself once uploaded to the official site.

Also available in: Atom PDF