Is en_UK an illegal locale?

前端 未结 5 1832
孤街浪徒
孤街浪徒 2021-02-02 05:17

So far I had always used \'en_UK\' for British English. Today I got an error when using it with Zend Framework because the locale is not included in the long list of recognized

5条回答
  •  走了就别回头了
    2021-02-02 05:57

    It is indeed a common (?) mistake. en_UK is wrong. The ISO country code for the UK is GB, making the language tag en_GB.

提交回复
热议问题