[IIAB] Haitian Creole

Braddock braddock at braddock.com
Thu Aug 8 21:13:15 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/08/2013 09:04 PM, James McDuffie wrote:
> Could you not just use the country code for Haiti with cpf?
> 

I'm not sure I understand.  cpf_HT?  There was no locale data
structure which defined cpf in
/usr/local/lib/python2.7/dist-packages/babel/localedata/

- -braddock

> Braddock <braddock at braddock.com> wrote: "cpf", while listed as a
> language, did not have a locale entry.
> 
> There is no pretty way to get a new language into the Babel
> library. I did a bit of a hack to pre-load the generic French
> locale as "cpf" - I'm assuming they follow french conventions in
> dates and currency, etc.
> 
> So Haitian Creole is now in IIAB.
> 
> -braddock
> 
> 
> On 08/08/2013 07:18 PM, James McDuffie wrote:
>>>> You should try and name it according to the ISO 639 language
>>>> code I believe:
>>>> 
>>>> cpf --          Creoles and pidgins, French-based
>>>> 
>>>> http://www.loc.gov/standards/iso639-2/php/code_list.php
>>>> 
>>>> On Thu, Aug 8, 2013, at 04:33 PM, Braddock wrote: Chris
>>>> and/or James,
>>>> 
>>>> When I add the Haitian Creole ht.po we are getting exceptions
>>>> from Python babel's library because it doesn't know the
>>>> Haitian creole 'ht' language code.
>>>> 
>>>> It appears to depend on some underlying CLDR dataset which 
>>>> contains the translations of language names into other
>>>> languages and a lot of other language information.
>>>> 
>>>> Is there some standard way to inform the system of Haitian
>>>> Creole? Or is this a python specific thing?
>>>> 
>>>> Thanks, Braddock
>>>> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSBGxaAAoJEHWLR/DQzlZur1kH/31iI0xZ/XwKkOPsfptkM395
wnwVMJFB3sE7cZAvsu4n5D/TPoxgMQ82bnZEy8EEVzn1vMsX1s0XPDQqCeaudzFj
IUzIBhtyqiWWa2SbmQXnP0m3J3DPYsEV1zkx7a6MoWT/U39tmx0DaRLmu0AcVFBT
Trn3cHx6Vc13CS5/59cHCZdSNAKF0u8WJ0Xv86mMx6DC/Qkj7U8Q+AC7NwQZ7ya1
jGqma8vxclqsxsUhgXB8JB67aC0eMnl3nfH8AJMwQEzzbtLh76hYGiTQ1kA05yK4
MjQOYJCykBK04Tfn95lOrZYEnCJgV2/rmTERT/zORfYcL+8b+64E2KV4L+AIMJI=
=bPPN
-----END PGP SIGNATURE-----



More information about the IIAB mailing list