From: "Ludovic Courtès" <ludo@gnu.org>
To: Brendan Tildesley <mail@brendan.scot>
Cc: guix-devel <guix-devel@gnu.org>, Mathieu Othacehe <othacehe@gnu.org>
Subject: Localization of language names
Date: Mon, 12 Oct 2020 14:44:48 +0200 [thread overview]
Message-ID: <874kmzr4u7.fsf@gnu.org> (raw)
In-Reply-To: <10d0d175-3849-4b28-1136-2ce1e7bf45b2@brendan.scot> (Brendan Tildesley's message of "Sun, 11 Oct 2020 17:23:30 +1100")
Hi,
Brendan Tildesley <mail@brendan.scot> skribis:
> Languages listed in the language selection are sometimes in English,
> Rarely in the native language.
We take language names and their translations from the ‘iso-codes’
package, specifically the “iso_639-3” message catalog. Quoth
(gnu installer newt locale):
(lambda (language)
(let ((english (language-code->language-name iso639-languages
language)))
(setenv "LANGUAGE" language)
(let ((native (gettext english "iso_639-3")))
(unsetenv "LANGUAGE")
native)))
I think this is the most exhaustive translation out there and what
everybody uses AIUI.
Do you see better translations in, say, the Debian or Ubuntu installers?
If so, that could indicate we’re doing something wrong, such as using
the wrong message catalog.
Thanks,
Ludo’.
next prev parent reply other threads:[~2020-10-12 12:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-11 6:23 Call for 1.2 installer testing Brendan Tildesley
2020-10-11 9:48 ` Efraim Flashner
2020-10-11 20:32 ` pelzflorian (Florian Pelz)
2020-10-11 20:36 ` Marinus Savoritias
2020-10-11 23:40 ` Brendan Tildesley
2020-10-13 6:47 ` Brendan Tildesley
2020-10-13 6:50 ` Brendan Tildesley
2020-10-12 12:44 ` Ludovic Courtès [this message]
2020-10-17 11:46 ` Localization of language names Miguel Ángel Arruga Vivas
2020-10-21 13:26 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kmzr4u7.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=mail@brendan.scot \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.