Re: Release notes translation
- From: Daniel Mustieles García <daniel mustieles gmail com>
- To: Alexandre Franke <afranke gnome org>
- Cc: GNOME i18n list <gnome-i18n gnome org>
- Subject: Re: Release notes translation
- Date: Mon, 27 Sep 2021 09:30:05 +0200
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 = "" href="https://help.gnome.org/misc/release-notes/41.0/">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.
A quick search in stackoverflow returned this:
With a very simple modification in the language-based redirection it could do the trick
Hope it helps :-)
Regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]