Kim Woelders wrote:
How can I translate menus (not the boxes but the ones called by left,
middle and right clic) ? Thanx for any ideas or suggestions.


The problem is that these strings are not in the C source code but in a configuration file (menus.cfg). One way to make it work is as follows (I'm not sure it's the proper way to do it - maybe some gettext guru out there can tell if there is a better way): Add e.g. "po/misc-strings.c" to the list of files containing strings to be localized in po/POTFILES.in. Create po/misc-strings.c containing the strings you want to localize, e.g.: _("Focus Settings ...") _("Move & Resize Settings ...") ... After rerunning autogen, etc. these strings will go into the po files, and will get translated as usual. It should be possible to translate menu titles as well this way.

I forgot to mention that this requires 0.16.7pre5 to work.

/Kim


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to