https://github.com/cdwv/grunt-pretranslate
https://github.com/cdwv/grunt-pretranslate
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cdwv/grunt-pretranslate
- Owner: cdwv
- Created: 2016-06-08T19:39:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-08T19:40:39.000Z (about 10 years ago)
- Last Synced: 2025-01-23T08:44:32.830Z (over 1 year ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
grunt-pretranslate
====================
Pretranslate static strings with grunt.
Example of configuration
-------------------------
```js
pretranslate: {
options: {
langs: ['pl'],
ns: ['main', 'dashboard'],
defaultNs: 'main',
srcDictionary: 'assets/locales/__lng__/__ns__.json',
destDictionary: 'public/locales/__lng__/__ns__.json'
},
main: {
src: ['tmp/compiledTemplates.js'],
dest: 'app/templates/compiledTemplates.js'
}
}
```