Hello Aivaras Stepukonis, On Sun, Jul 06, 2014 at 04:41:21PM +0300, Aivaras Stepukonis wrote: > The part that still needs addressing is how to redirect AOO website visitors > to their native subsites based on their locale. > > Here's a quick example: if I type <http://www.mozilla.org> in the browser's > address bar I am automatically referred to <http://www.mozilla.org/lt> as my > locale is Lithuania. This is very convenient from a native speaker's point > of view. Now, if I do the same thing with <http://www.openoffice.org> I am > not automatically referred to <http://www.openoffice.org/lt>, I can reach > the latter destination only by manually appending the suffix "lt." > > Can the Mozilla scenario be replicated at <http://www.openoffice.org>?
Mozilla uses Python[1] on its server; AFAIK the ASF does not use/allow server-side scripting, so the solution needs to be implemented on the client-side. [1] https://github.com/mozilla/funfactory https://github.com/mozilla/funfactory/blob/master/funfactory/urlresolvers.py#L69 Regards -- Ariel Constenla-Haile La Plata, Argentina
signature.asc
Description: Digital signature
