l10n approach for bzr
Alexander Belchenko
bialix at ukr.net
Mon Mar 17 21:29:03 GMT 2008
Another suggestion re i18n/l10n: it's better to not use _ function.
It seems handy but sometimes better use gettext name for translation
function and N_() for marking string as translated without instant
translation. Then later N_-wrapped string should be translated with
gettext() call.
We have a nice example (I think) in QBzr project:
http://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk/annotate/bialix%40ukr.net-20080317183826-7959jumi0i04xug9?file_id=i18n.py-20071004134722-2o8n3hwya5qsnnyn-1
More information about the bazaar
mailing list