Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
There is something of a mismatch between native Mac localization and
that of Gtk applications like Gramps because Apple chose to use IBM's
more modern and more complete International Components for Unicode
(ICU) for the purpose rather than the older POSIX and gettext based
localization used by Gtk (and most other Linux applications).

For Gramps, the system defaults settings will be used only if the user
hasn't set the corresponding environment variable already.

Apple's language list maps nicely to gettext's LANGUAGE environment(more...)

src/g/r/gramps-3.4.2/src/TransUtils.py   Gramps(Download)
if mac():
    import MacTransUtils
    MacTransUtils.mac_setup_localization(LOCALEDIR, LOCALEDOMAIN)