technosaurus' translation method in momanager
Posted: Mon 09 Nov 2015, 10:06
Purpose of my work is:technosaurus wrote:Leave me a link to your current work and I will try to keep it compatible or send a patch. I am going to be replacing some puppy terminology with appropriate standards from standards.freedesktop.org.
let translator use our translation tool momanager to translate jwm_create_menu.
They will see and translate just .po files as usual.
gettext tools msginit msgmerge and msguniq are used.
Translation file jwm had to be renamed to jwm_menu_create (or anything other than jwm).
Only translated items are to be stored in these translation files (the gettext way ).
Biggest change is use of variable _M_n
e.g. _M_6 instead of jwm_GraphicGraphics
Hope you can live with this; or with _M_jwm_GraphicGraphics
as _M_ is needed to identify this translation METHOD at the moment in momanager (3 methods ATM):
Code: Select all
# METHOD
# note, gettext method does NOT need explicit 'gettext', see ex: /etc/grub.d/20_ppc_terminfo
# thus grep gettext is not useful
case ${SCRIPT##*.} in
md) METHOD='mdview' ;;
*) [ "`grep -m 1 '${_M_' $SCRIPT`" ] && METHOD='t12s' || METHOD='gettext' ;;
esac
Note @all,
technosaurus' translation method is older than momanager.
EDIT
t12s method is in momanager but has never been really tested bacause no one seems to use it.