On Mon, Feb 20, 2012 at 5:04 PM, Johannes Pfau <span dir="ltr"><<a href="mailto:nospam@example.com">nospam@example.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Mon, 20 Feb 2012 15:28:33 -0200<br>
schrieb Jose Armando Garcia <<a href="mailto:jsancio@gmail.com">jsancio@gmail.com</a>>:<br>
<br>
> I have been thinking of making a module for i18n model after gettext<br>
> but taking advantage of D's language features. Is there some interest<br>
> in this?<br>
<br>
Yep we need this. I also thought about developing an i18n module maybe<br>
we can work together on one. I won't have time for it the next 3<br>
weeks though.<br>
Anyway, I think we should base our i18n module on boost.locale<br>
<a href="http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html" target="_blank">http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html</a><br>
but boost.locale is pretty big, we should probably start with the<br>
translation part only:<br>
<a href="http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html" target="_blank">http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html</a><br>
<br></blockquote><div><br>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.<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

The API is quite good imho. It'll need some changes to fit D better,<br>
but I think this could become a nice D style API.<br>
<br>
Boost.locale uses the gettext format internally which is important.<br>
This way we can use all the gettext tools & websites and the translator<br>
community (<a href="https://www.transifex.net/start/" target="_blank">https://www.transifex.net/start/</a>).<br>
<br>
BTW: I already have code to read the gettext format, so that could be<br>
used.<br></blockquote><div><br>That is great! It would be great if we can make a state of the art I18N module. Looking forward to it!<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

><br>
> Thanks,<br>
> -Jose<br>
><br>
<br>
</blockquote></div><br>