angular-translate / angular-translate/grunt-angular-translate
Multiple languages, default translations in JSON files
- 主要語言
- JavaScript
- 星號
- 90
- 分支
- 49
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
I have an angular app that needs to have multiple language translations. I have setup angular translate task as follows. What I want to create is a different language file which I load later using **useStaticFilesLoader**;
``` javascript
i18nextract: {
default_options: {
jsonSrc: ['<%= srcdir %>/i18n/*.json'],
src: [ '<%= src.js %>', '<%= src.html %>'],
lang: ['ro', 'en', 'fr', 'pl', 'de'],
dest: '<%= distdir %>/i18n'
}
}
```
In **srcdir** there are multiple language files with original translations, to use them as a source:
Unfortunately, the result doesn't load the translation
Also tried passing `source: ['<%= srcdir %>/i18n/*.json'],` and `jsonSrc: {"ro":'<%= srcdir %>/i18n/ro.json', "de":'<%= srcdir %>/i18n/de.json'},` without any luck.
Is there an option I'm missing?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。