更改区域设置i18n Node.js
我无法find如何更改国际化的区域设置
https://github.com/mashpie/i18n-node
我这样configuration
i18n.configure({ // setup some locales - other locales default to en silently locales:['en', 'de'], // where to register __() and __n() to, might be "global" if you know what you are doing register: global });
但是我总是把en当作locale,我找不到如何设置de
谢谢
我回答解决这个post
解决scheme是.setLocale