GNU bug report logs - #39080
How do language packs work?

Previous Next

Package: guix;

Reported by: Caleb Herbert <csh <at> bluehome.net>

Date: Sat, 11 Jan 2020 03:55:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39080 in the body.
You can then email your comments to 39080 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39080; Package guix. (Sat, 11 Jan 2020 03:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Caleb Herbert <csh <at> bluehome.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 11 Jan 2020 03:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Caleb Herbert <csh <at> bluehome.net>
To: bug-guix <at> gnu.org
Subject: How do language packs work?
Date: Fri, 10 Jan 2020 21:54:28 -0600
[Message part 1 (text/plain, inline)]
How do language packs work in Guix?  I would like to translate my future
system to Pennsylvania Dutch.
[csh.vcf (text/x-vcard, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#39080; Package guix. (Sat, 11 Jan 2020 04:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 39080 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Caleb Herbert <csh <at> bluehome.net>,39080 <at> debbugs.gnu.org
Subject: Re: bug#39080: How do language packs work?
Date: Fri, 10 Jan 2020 23:31:49 -0500
Le 10 janvier 2020 22:54:28 GMT-05:00, Caleb Herbert <csh <at> bluehome.net> a écrit :
>How do language packs work in Guix?  I would like to translate my
>future
>system to Pennsylvania Dutch.

Hi Caleb,

Thanks for your interest in localisation! I'm unfortunately unable to find a language code for your language. That is necessary for software to recognise it and speak it. I may not have searched correctly, so maybe you can find the correct code? Something like ll_LL (fr_BE for Belgium French) or maybe a code like ll-x-something (fr-x-gallo for a minority language in France that doesn't have its own iso-639 code, although I'm not sure it is technically accepted by software).

Once you have that code, you can use it in the guix system in the locale field of your os declaration. If you are on a foreign distro, then check with them how to set a language (or set $LANG temporarily).

If your question is how to help translating, and not just how to have software speak your language, you'll have to note that we do not translate any of the software we package, apart from guix itself: each package upstream is responsible for their translations.

To help translate guix, please have a look at the translation project: https://translation-project.org

To help translate other projects, you'll have to find what their process is to accept translations. Usually you can find this information by navigating from their home page, which you can find with the command `guix show the-package`.

In either case, there might already be a community of translators for your language. I encourage you to go and find them, they will probably have a lot of info, guidelines that will be very helpful to you.

I hope this answered some of your questions.




Information forwarded to bug-guix <at> gnu.org:
bug#39080; Package guix. (Sat, 11 Jan 2020 04:59:01 GMT) Full text and rfc822 format available.

Message #11 received at 39080 <at> debbugs.gnu.org (full text, mbox):

From: Caleb Herbert <csh <at> bluehome.net>
To: Julien Lepiller <julien <at> lepiller.eu>, 39080 <at> debbugs.gnu.org
Subject: Re: bug#39080: How do language packs work?
Date: Fri, 10 Jan 2020 22:58:35 -0600
[Message part 1 (text/plain, inline)]
On 1/10/20 10:31 PM, Julien Lepiller wrote:
> Thanks for your interest in localisation! I'm unfortunately unable to find a language code for your language. That is necessary for software to recognise it and speak it. I may not have searched correctly, so maybe you can find the correct code?

pdc

Examples:
https://pdc.wikipedia.org/wiki/Haaptblatt
https://www.jw.org/pdc/
https://iso639-3.sil.org/code/pdc

> Once you have that code, you can use it in the guix system in the locale field of your os declaration. If you are on a foreign distro, then check with them how to set a language (or set $LANG temporarily).

I highly doubt a locale file for pdc_US exists.  I'd like to make one,
but the file for en_US and yi_US don't show the actual characters.  I
just see "<U####>", which I can't read or produce.

> To help translate guix, please have a look at the translation project: https://translation-project.org

Thanks.
[csh.vcf (text/x-vcard, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#39080; Package guix. (Sat, 11 Jan 2020 13:55:01 GMT) Full text and rfc822 format available.

Message #14 received at 39080 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Caleb Herbert <csh <at> bluehome.net>
Cc: 39080 <at> debbugs.gnu.org
Subject: Re: bug#39080: How do language packs work?
Date: Sat, 11 Jan 2020 14:54:34 +0100
Le Fri, 10 Jan 2020 22:58:35 -0600,
Caleb Herbert <csh <at> bluehome.net> a écrit :

> On 1/10/20 10:31 PM, Julien Lepiller wrote:
> > Thanks for your interest in localisation! I'm unfortunately unable
> > to find a language code for your language. That is necessary for
> > software to recognise it and speak it. I may not have searched
> > correctly, so maybe you can find the correct code?  
> 
> pdc
> 
> Examples:
> https://pdc.wikipedia.org/wiki/Haaptblatt
> https://www.jw.org/pdc/
> https://iso639-3.sil.org/code/pdc

Great! For some reason I couldn't find this information.

> 
> > Once you have that code, you can use it in the guix system in the
> > locale field of your os declaration. If you are on a foreign
> > distro, then check with them how to set a language (or set $LANG
> > temporarily).  
> 
> I highly doubt a locale file for pdc_US exists.  I'd like to make one,
> but the file for en_US and yi_US don't show the actual characters.  I
> just see "<U####>", which I can't read or produce.
> 
> > To help translate guix, please have a look at the translation
> > project: https://translation-project.org  

ah indeed, glibc doesn't seem to have a locale definition for pdc. We
can't really do anything about this ourselves, but you should
definitely talk to the glibc folks, they'll know what you need to
create and contribute locale data.

For the time being, you can generate a locale definition by using
another locale's definition. It's a bit cheating, but if your language
is close enough to American English, here's what you could do with the
guix system:

(locale "pdc_US.UTF-8")
(locale-definitions
  (cons (locale-definition
          (name "pdc_US.UTF-8") (source "en_US"))
        %default-locale-definitions))

It creates a copy of the American English definition and calls it pdc.
This will allow you to use that locale, although its definition is
probably not correct.

> 
> Thanks.





Information forwarded to bug-guix <at> gnu.org:
bug#39080; Package guix. (Tue, 18 Oct 2022 16:21:03 GMT) Full text and rfc822 format available.

Message #17 received at 39080 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: Caleb Herbert <csh <at> bluehome.net>, 39080 <at> debbugs.gnu.org
Subject: Re: bug#39080: How do language packs work?
Date: Tue, 18 Oct 2022 18:11:37 +0200
Hi,

This old bug report #39080 [1] is about translation to Pennsylvania
Dutch.

1: <http://issues.guix.gnu.org/issue/39080>

On Sat, 11 Jan 2020 at 14:54, Julien Lepiller <julien <at> lepiller.eu> wrote:
> Le Fri, 10 Jan 2020 22:58:35 -0600,
> Caleb Herbert <csh <at> bluehome.net> a écrit :
>> On 1/10/20 10:31 PM, Julien Lepiller wrote:

> ah indeed, glibc doesn't seem to have a locale definition for pdc. We
> can't really do anything about this ourselves, but you should
> definitely talk to the glibc folks, they'll know what you need to
> create and contribute locale data.

What is the status about this?  Still an interest in?

If not, do we close?


Cheers,
simon




bug closed, send any further explanations to 39080 <at> debbugs.gnu.org and Caleb Herbert <csh <at> bluehome.net> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 13 Feb 2023 16:39:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Mar 2023 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.