[Python-Dev] Formatting mini-language suggestion

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Thu Mar 12 08:59:36 CET 2009


-On [20090312 06:50], Lie Ryan (lie.1296 at gmail.com) wrote:
>How about having a country code field, e.g. en-us would format according 
>to US locale, in to India, ch to China, etc... that way the format 
>string would become very simple (although the lib maintainer would need 
>to know customs from all over the world). Then have a special country 
>code that is a placeholder for whatever the locale the machine is set to.

Then you are effectively duplicating what is already available via CLDR [1]
and Babel [2].

[1] http://www.unicode.org/cldr/
[2] http://babel.edgewall.org/

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Any road leads to the end of the world...


More information about the Python-Dev mailing list