[IIAB] Haitian Creole

Braddock braddock at braddock.com
Thu Aug 8 20:58:07 PDT 2013


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

"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/

iQEcBAEBAgAGBQJSBGjPAAoJEHWLR/DQzlZurvEH/ij0lTm+TOa/z439+a98U5uo
zCBUgJRK53nz58GbEYTrcsm1y0vh5mS/FMqI5/FDhTDzH+0tkyKf6uZ1rm2hhvab
ptpxN2cBQsLGeCgQinpHBf7rV3UIbzcWi+jRSE+IFhgijFl/R2mvvdjNvGge/vMp
haNhx63U95ZhVg6/SJpNn04dLx/TxDJBJwiOiQhBQ2ekQ8oB2QLsB7AeYVNyCFmM
vchB7AD8aYbrlTjA5bpyzD3LDhP9javCU/ZzW0gZL+0mQOK1PEEDd5HlKa+5gqbj
o2G+bVbVc2gXl6VeFDkWPCh0AEZmyTRdiBbOFb06Xhv2BczDhpDOQ/4M0/+WJzQ=
=PR3U
-----END PGP SIGNATURE-----



More information about the IIAB mailing list