17
edits
Changes
m
→Addons
External addons often need to provide their own message catalogs. To pull one in, use
this instead of the usual.
from gramps.gen.const import import GRAMPS_LOCALE as glocale
_ = glocale.get_addon_translator(__file__).gettext
or if you need more than one retrieval function: