Am 07/05/2014 02:30 PM, schrieb Andrea Pescetti:
On 30/06/2014 Pedro Albuquerque wrote:
the Portuguese-Pt subsite http://www.openoffice.org/pt/ is up-to-date
and ready for redirecting.
(Hello again, Marcus! A lot of ongoing site discussions on the l10n list
lately...)
;-)
I doubt we can do anything server-side on the Apache infrastructure. So
the language negotiation (i.e., detecting that the user prefers to see
-as in the Accept-Language directive- content in Lithuanian or
Portuguese) should all be done by JavaScript, but I don't know if
reliable solutions exist, besides some workarounds that can be easily
found online searching for how to detect language in JavaScript.
Maybe we have code in the download page that could be reused to guess
the preferred language and, based on that, redirect "lt" and "pt" users
to their localized page? If anyone is going to work on that we can
probably implement it for lt and pt and then, on request, for other
languages where we have well-maintained subsites.
Isn't it just the addition of the 2 new variables introduced by Tal
recently? For "pt" and "lt" I've seen them in the "brand.mdtext". Does
it not work?
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscr...@openoffice.apache.org
For additional commands, e-mail: l10n-h...@openoffice.apache.org