Le 20/02/2012 20:04, Johannes Pfau a écrit :
Am Mon, 20 Feb 2012 15:28:33 -0200
schrieb Jose Armando Garcia<jsan...@gmail.com>:

I have been thinking of making a module for i18n model after gettext
but taking advantage of D's language features. Is there some interest
in this?

Yep we need this. I also thought about developing an i18n module maybe
we can work together on one. I won't have time for it the next 3
weeks though.
Anyway, I think we should base our i18n module on boost.locale
http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html
but boost.locale is pretty big, we should probably start with the
translation part only:
http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html

The API is quite good imho. It'll need some changes to fit D better,
but I think this could become a nice D style API.

Boost.locale uses the gettext format internally which is important.
This way we can use all the gettext tools&  websites and the translator
community (https://www.transifex.net/start/).

BTW: I already have code to read the gettext format, so that could be
used.

Thanks,
-Jose



Great initiative, but can you please start this in a new thread ? This one is already quite hard to follow :D

Reply via email to