> I need to have possibility to override locale env and
> internationalization  by a program argument. I use a gettext-like
> equivalent (using modified code from
> http://www.number-none.com/blow/code/mo_file/index.html) but 
> it brings a
> problem because fluid generates menus as static struct arrays - which
> are initialized before main() starts.
> I know that this is fltk off-topic on fltk maillist, probably
> platform/compiled dependent but googling I did not find a 
> solution so I
> am asking here:


Fluid supports some internationalization, in the project settings menu
you can pick support for gettext or catgets.

I think this makes it possible for you to replace the static menu
structures, but have not used it myself; I generally build the menus "by
hand" if I need to i18n them (for pretty much the reason you
identify...)




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to