Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为一个项目使用数据选择器(https://github.com/g00fy-/angular-datepicker),但我不知道如何将几个月的语言从英语更改为西班牙语。
我还想将周名称更改为西班牙语。
感谢您的帮助和时间!
您可以通过在 html 中添加语言环境参考 js 文件来实现此目的。
<script src="http://code.angularjs.org/1.0.8/i18n/angular-locale_es-ar.js"></script>
详细列表可以在这里找到。
ngLocale