Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

Hi Andras

That's good news though I don't quite see how the lang parameter translates into a manual selection option but maybe there's some other black magic connected to that which I'm not aware of :)

I don't think it's a massive problem if it defaults to English - though again I don't actually see how that would happen? I mean, surely the interface would only offer LO Online in locales which actually have translations?


Sgrìobh Andras Timar na leanas 28/05/2016 aig 10:41:
On Thu, May 26, 2016 at 1:42 AM, Michael Bauer<>  wrote:

>Why can LO Online not deal with locales which are not in the
>browser-accept locales? It cannot possibly be in the realm of the
>impossible to implement a locale selection feature.
No, it's not impossible. In fact I've just implemented it.
It adds an optional 'lang' parameter, and if it is present, then it will
take precedence. It it's missing, the Accept-Language header will be used,
which is sent by the browser. The problem with this approach, that if user
asks for a localization in the 'lang' parameter, that is not present, then
the UI will fall back to English, and not to the next preferred language in
the Accept-Language header. (Or maybe not. I did not try.)

*Akerbeltz <>*
Goireasan Gàidhlig air an lìon
Fòn: +44-141-946 4437
Facs: +44-141-945 2701

*Tha Gàidhlig aig a' choimpiutair agad, siuthad, feuch e!*
Iomadh rud eadar prògraman oifis, brabhsairean, predictive texting,
geamannan is mòran a bharrachd. Tadhail oirnn aig www.iGà <>

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.