bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: localized URLs


From: Akim Demaille
Subject: Re: localized URLs
Date: Tue, 28 May 2019 18:37:53 +0200


> Le 28 mai 2019 à 10:49, Bruno Haible <address@hidden> a écrit :
> 
> Hi Akim,
> 
>> On the other end, it would be nice if the FSF supported something like
>> '?locale=CODE' or '?lang=CODE', as some sites do, as it would relieve us
>> from having to maintain some correspondance by hand.
> 
> The only benefit that this syntax would have is that the PATTERN could be
> derived from the DEFAULT-URL.
> 
> It would still be required to look up which translations of the web page
> exist and which don't. Why? Assume the Spanish translation exists and the
> Portuguese translation doesn't exist, and the user has set LANGUAGE=pt:es.
> Then it would be wrong to present DEFAULT-URL?lang=pt to the user, because
> it would show a 404 page or fall back to English. The user wants to see
> DEFAULT-URL?lang=es in this case, though.

I was unaware there was a means to have cascading languages...

You have a point!  However, such support from the web site itself
is the surest way to be always up to date, even if you are on some old
distro with a piece of software that was released many years ago.  If
there's really demand, they could also support this "path" of languages.

You are addressing a wider problem, I was focusing only on version-etc.

Cheers!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]