php-gettext / Gettext

PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc)
MIT License
687 stars 134 forks source link

Problem with some language code #202

Open W3b3r opened 5 years ago

W3b3r commented 5 years ago

Hi guys,

my integrate Gettext with .po and .mo file and work fine.

Yesterday i added new language Czech, after generete .po and .mo file ad uploaded to dedicated folder this language does't work.

I try to reboot my server, change language code from cs_CS to cz_CZ but still don't work.

This problem affect other 2 language that is Danish and Swedish.

How i do resolve this issue? Thanks in advance for support. Best.

jarodium commented 5 years ago

Can you open the po file and see if "Language: \n" has the "Language: cs_CS\n" value? In my case the changes made to the po file with this lib deletes the language code from it.

hamedkhorasani commented 3 years ago

I have same problem too.