>
>
>
> Interesting. Now I know why gettext is slow with windows. It is
> environment setting that takes all the time.
>
> This is because of the horrible API of gettext. We can need several
> different languages at the same time, and we cannot pass that as a
> parameter. Moreover, if we leave these environment variables as set, they
> will influence the behavior of the external processes that we run.
>
> I am more and more tempted at use some C++ .mo file reader like
> this
>   
> https://github.com/laurent22/**simple-gettext<https://github.com/laurent22/simple-gettext>
>
> This library amounts to less that 1000 lines of code AFAICS. We can afford
> to import it in our code and customize it to our needs. I just have to find
> a clear statement about license.
>

If needed, we can write it ourselves probably as well. Would be a nice
exercise for the reader ;).

Vincent

Reply via email to