gettext icon indicating copy to clipboard operation
gettext copied to clipboard

The translation file from the system directory is not being picked up

Open AlexanderZhirov opened this issue 6 months ago • 2 comments

I generated a <myprogram>.mo file and placed it in /usr/share/locale/<lang>/. The locale on my system matches the translation file. Why isn’t it being loaded automatically?

AlexanderZhirov avatar Jun 26 '25 17:06 AlexanderZhirov

I realized why it doesn't load automatically. It would probably be more convenient to use loading from the system directory by default.

AlexanderZhirov avatar Jun 26 '25 17:06 AlexanderZhirov

You're probably right. I am not on a Posix system. Would you be able to produce a patch that fixes this for you? This should likely be platform dependent.

veelo avatar Jun 26 '25 19:06 veelo