On 20 May 2011, at 21:20, Roman Kantor wrote: > There is very tiny (240 lines of code directly on the web page!) > gettext-compatible library at > > http://number-none.com/blow/code/mo_file/index.html > > It is under very commercial-friendly MIT license and works very well, you > have to load your resource (.mo) file explicitly. Define something like > > inline const char * _(const char * text){return text_lookup(text)}; > > in some header and use > > > printf(_("This is translated text. Have a nice day!\n")); > > > You can still use gettext tools (also available under windows) to extract > strings from your c/c++ source files and make translations using eg Poedit > (available > for windows too).
Cool - I didn't know such a thing existed, that sounds like it might be ideal for what Asif wanted... Asif, is that any use to you? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

