On Mon, Feb 20, 2012 at 5:04 PM, Johannes Pfau <nos...@example.com> wrote:
> 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 > > Sounds good! I'll probably wont start before that time either. Let me think about it some more and we can talk after the std.log review. > 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. > That is great! It would be great if we can make a state of the art I18N module. Looking forward to it! > > > > Thanks, > > -Jose > > > >