Gettext doesn't work - any initialization needed?

11 views
Skip to first unread message

Ilya Kantor

unread,
Mar 18, 2023, 9:32:45 AM3/18/23
to emscripten-discuss
Hello,

I'm trying to run a program that uses gettext to show messages.
It compiled, but completely ignores any locale and always shows English.
Looks like the "_" function doesn't have any translations.

What may be the reason?

I'm quite unaware of how gettext initialization works. Should I put .po/.mo files somewhere?

Should I create the `share/locale` folder  (or anything else) on the MEMFS?

Thank you!

Kind regards,
Ilya
Reply all
Reply to author
Forward
0 new messages