PHP gettext on Windows

前端 未结 6 1532
你的背包
你的背包 2020-12-13 22:03

There are some tutorials out there for gettext (with Poedit)... unfortunately, it\'s mostly for a UNIX environment. And even more unfortunate is that I am running my WAMP se

6条回答
  •  甜味超标
    2020-12-13 22:44

    I didn't made a full investigation on this but I'm sure that one of your mistakes is that you used invalid locale codes - even on Windows the locales codes are the same - these are gettext locales and they are cross platform.

    Please try to use just "de" as locale code, it should work. Also be sure that your PHP has gettext extension installed and activated (check with phpinfo).

提交回复
热议问题