Another gettext
problem here.
Gettext
works, and everything is seemingly set up correctly. However, I am now faced with the problem that some strings are not being translated on the website, despite being translated in the .po
files. Gettext for some reason is ignoring some of the strings...
I find this behavior very strange. Could someone please help me here?
Update:
So... I somewhat fixed my problem, but not completely. It turns out that if I name my files default.po
instead of messages.po
... The page is mostly translated. Which is odd, because the way I understood it, the files have to be named the same as the domain you choose.
The website is mostly translated now. But it's still strange because there are a few strings here and there not being translated, despite their entries being correctly filled out.