Gettext will always use system default locale

后端 未结 7 640
孤城傲影
孤城傲影 2020-12-30 09:30

I need to localise a Windows-only PHP web application and I\'m evaluating the gettext extension but I\'m having the hardest time trying to make it work in my Windows 7 devel

相关标签:
7条回答
  • 2020-12-30 10:12

    On Ubuntu it works if you set your default LC_ALL and leave the LANG and LANGUAGE empty, like so:

    LANG=
    LANGUAGE=
    LC_ALL= "en_US.utf8"
    
    0 讨论(0)
提交回复
热议问题