I've been using run-me.sh and could see fatdog-even-manager run in German. But I did work only if LC_MESSAGES=$LANGjamesbond wrote:...I'm using LC_MESSAGES instead of LANG to make the changes minimal. I'd like to keep LANG=C by default to speed up the script, but I guess we need to see if there is any problem with this approach.
LC_MESSAGES=de fell back to C because ....
LC_MESSAGES=de_DE fell back to C because ....
LC_MESSAGES=de_DE.UTF-8 works.
LC_MESSAGES must be a directory
Working with LANG means gettext will
find msgstr in TEXTDOMAINDIR/de_DE.UTF-8/LC_MESSAGES/TEXTDOMAIN.mo
if not found
find msgstr in TEXTDOMAINDIR/de_DE/LC_MESSAGES/TEXTDOMAIN.mo
if not found
find msgstr in TEXTDOMAINDIR/de/LC_MESSAGES/TEXTDOMAIN.mo
if not found use msgid
For German there is just directory de
But locales are for Austria Belgium Germany Lichtenstein Luxemburg and Switzerland
..and we would need symlinks from all these to de....horrible
UTF-8 must be default for all non-English locales
Speeding up in puppy is:
LANG_ORIG=$LANG
LANG=C
...
LANG=$LANG_ORIG
Thanks for your PM containing your fix for momanager's findjamesbond wrote:.... I don't recommend changing the GtkBuilder XML file by hand; as these files are auto-genereated by glade3 (you can actually load them into Glade3 and see how the GUI looks like --- that's how I built them, I don't do it by hand); and I'm not sure whether the comment you have put in will stay if I edit the file with glade3. Either way, I prefer not to mark an XML file as executable
I have have run it without -executable successfully. It is fast!find /bin /sbin /usr/bin /usr/sbin /usr/X11R7/bin /usr/local /etc/rc.d /root/my-applications/bin -maxdepth 4 -type f -executable -print0 | xargs -0 grep --files-with-matches '^export TEXTDOMAIN=' | while read -r p; do echo "$p"; [ -e "${p}.xml" ] && echo "${p}.xml"; done | sed -e 's% %SPACECHAR%g' > $CACHE/GETTEXTSCRIPTS
...and the xml files are found without the commented export Text...
But
export TEXTDOMAIN=...
is needed
Maybe we (you ? ) can integrate it into that find code (and I will test) ?
Then MoManager can use the unchanged not executable *.xml files.