开发者

locale for Switzerland (to correctly display Swiss Franc)

开发者 https://www.devze.com 2023-03-15 12:07 出处:网络
I\'m looking for the locale to set in PHP for Switserland, for a client that needs support for Swiss Franc.

I'm looking for the locale to set in PHP for Switserland, for a client that needs support for Swiss Franc.

I can't seem to find the correct locale for Switserland. Does anyone know which one I can use?

I need it in the following format like: nl_NL, en_US, 开发者_StackOverflow中文版en_GB


it depends on what language your client speaks. There are multiple parts in Switzerland where different languages are used.

possible locales are :

  • de_CH (german)
  • fr_CH (french)
  • it_CH (italian)

if you require the setting for currency formatting only it shouldn't really matter which one you set. but it could make a difference in date formatting if you want to display names of weekdays and months.

0

精彩评论

暂无评论...
验证码 换一张
取 消