Here is a very simplified implementation of the previous suggestion:

<script type="text/javascript">
window.onload = function() {

    var ln = window.navigator.language||navigator.browserLanguage;
    window.location.href = 'https://help.gnome.org/misc/release-notes/41.0/'
+ ln;

}
</script>

Maybe someone with more experience in JS could review/check it, but I think
it's a first step.

El lun, 27 sept 2021 a las 9:22, Daniel Mustieles García (<
daniel.mustie...@gmail.com>) escribió:

> A quick search in stackoverflow returned this:
>
>
> https://stackoverflow.com/questions/53468548/detect-language-with-javascript-and-redirect-to-another-page
>
> With a very simple modification in the language-based redirection it could
> do the trick
>
> Hope it helps :-)
>
> Regards
>
> El vie, 24 sept 2021 a las 10:49, Alexandre Franke (<afra...@gnome.org>)
> escribió:
>
>> On Fri, Sep 24, 2021 at 9:16 AM Rafael Fontenelle <rafae...@gnome.org>
>> wrote:
>> > It doesn't seem to have language selector or browser content
>> negotiation for switching languages manually or automatically, but the
>> translation is there. It is a new implementation, to be improved.
>>
>> Help with that is welcome:
>> https://gitlab.gnome.org/Teams/Engagement/release-notes/-/issues/34
>>
>> --
>> Alexandre Franke
>> GNOME Hacker
>> _______________________________________________
>> gnome-i18n mailing list
>> gnome-i18n@gnome.org
>> https://mail.gnome.org/mailman/listinfo/gnome-i18n
>>
>
_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to