DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2678 Version: 1.3.0 Ok, I can see for example { Xcas_Page_format = new Fl_Menu_Button(10, 145, 165, 30, gettext("Print format")); Xcas_Page_format->tooltip(gettext("Printer page format")); Xcas_Page_format->textsize(10); Xcas_Page_format->align(Fl_Align(FL_ALIGN_CLIP)); Xcas_Page_format->when(3); if (!menu_Xcas_Page_format_i18n_done) { int i=0; for ( ; i<5; i++) if (menu_Xcas_Page_format[i].label()) menu_Xcas_Page_format[i].label(gettext(menu_Xcas_Page_format[i].label())); menu_Xcas_Page_format_i18n_done = 1; } Xcas_Page_format->menu(menu_Xcas_Page_format); } // Fl_Menu_Button* Xcas_Page_format But it did not work before I added the initial gettext, otherwise I would not have commited a bug report. And I don't see why gettext would be more initialized in the loop than in the new, perhaps it depends on the system? I'm initializing gettext and setting the language before this object file is loaded, and it works OK for my application (a free computer algebra system named Xcas, the source code is http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz, the relevant fluid file is giac-0.9.3/src/hist.fl). Anyway, I had to do other modifications for EPS print format support, and a few other things, and unfortunately this forum is not reactive enough for my needs. Therefore I'll stay with my own modification of FLTK and won't try to make my changes upstream in the new FLTK versions. Link: http://www.fltk.org/str.php?L2678 Version: 1.3.0 _______________________________________________ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs