unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39080: How do language packs work?
@ 2020-01-11  3:54 Caleb Herbert
  2020-01-11  4:31 ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: Caleb Herbert @ 2020-01-11  3:54 UTC (permalink / raw)
  To: 39080


[-- Attachment #1.1.1: Type: text/plain, Size: 105 bytes --]

How do language packs work in Guix?  I would like to translate my future
system to Pennsylvania Dutch.

[-- Attachment #1.1.2: csh.vcf --]
[-- Type: text/x-vcard, Size: 288 bytes --]

begin:vcard
fn:Caleb Herbert
n:Herbert;Caleb
adr:;;PO box 234;East Lynne;Missouri;64743;United States of America
email;internet:csh@bluehome.net
tel;home:816-869-3111
tel;cell:816-892-9669
note:KE0VVT
x-mozilla-html:FALSE
url:https://bluehome.net/csh/
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#39080: How do language packs work?
  2020-01-11  3:54 bug#39080: How do language packs work? Caleb Herbert
@ 2020-01-11  4:31 ` Julien Lepiller
  2020-01-11  4:58   ` Caleb Herbert
  0 siblings, 1 reply; 5+ messages in thread
From: Julien Lepiller @ 2020-01-11  4:31 UTC (permalink / raw)
  To: Caleb Herbert, 39080

Le 10 janvier 2020 22:54:28 GMT-05:00, Caleb Herbert <csh@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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#39080: How do language packs work?
  2020-01-11  4:31 ` Julien Lepiller
@ 2020-01-11  4:58   ` Caleb Herbert
  2020-01-11 13:54     ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: Caleb Herbert @ 2020-01-11  4:58 UTC (permalink / raw)
  To: Julien Lepiller, 39080

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

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.

[-- Attachment #2: csh.vcf --]
[-- Type: text/x-vcard, Size: 288 bytes --]

begin:vcard
fn:Caleb Herbert
n:Herbert;Caleb
adr:;;PO box 234;East Lynne;Missouri;64743;United States of America
email;internet:csh@bluehome.net
tel;home:816-869-3111
tel;cell:816-892-9669
note:KE0VVT
x-mozilla-html:FALSE
url:https://bluehome.net/csh/
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#39080: How do language packs work?
  2020-01-11  4:58   ` Caleb Herbert
@ 2020-01-11 13:54     ` Julien Lepiller
  2022-10-18 16:11       ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: Julien Lepiller @ 2020-01-11 13:54 UTC (permalink / raw)
  To: Caleb Herbert; +Cc: 39080

Le Fri, 10 Jan 2020 22:58:35 -0600,
Caleb Herbert <csh@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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#39080: How do language packs work?
  2020-01-11 13:54     ` Julien Lepiller
@ 2022-10-18 16:11       ` zimoun
  0 siblings, 0 replies; 5+ messages in thread
From: zimoun @ 2022-10-18 16:11 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: Caleb Herbert, 39080

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@lepiller.eu> wrote:
> Le Fri, 10 Jan 2020 22:58:35 -0600,
> Caleb Herbert <csh@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-18 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11  3:54 bug#39080: How do language packs work? Caleb Herbert
2020-01-11  4:31 ` Julien Lepiller
2020-01-11  4:58   ` Caleb Herbert
2020-01-11 13:54     ` Julien Lepiller
2022-10-18 16:11       ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).