hi
I made a little test code to test gettext.
The point was to change language even if it's not listed on `locale -a` like, for example, inkscape does.
The idea is straightforward I have the .mo files inside a `locales` folder on the project dir, inside it it's the language, in this test I created "pt_PT" and "ja_JP" and inside both "LC_MESSAGES".
I set the bindtextdomain to the locales folder and I changed the LANG env var to change the language, pt_PT worked but ja_JP didn't.
When I did a strace I noticed that if the language isn't on `locale -a` it doesn't try to read from the bindtextdomain but from the default system path instead.