Created
June 3, 2014 22:11
-
-
Save DrMabuse23/cdcec051279d0582b18e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locales: { | |
options: { | |
locales: ['en_US', 'de_DE'] | |
, | |
localePlaceholder:'translate', | |
localizeMethodIdentifiers:'translate' | |
}, | |
update: { | |
src: [ | |
'<%= yeoman.app %>/views/**/*.html' | |
// , | |
// '<%= yeoman.app %>/scripts/**/*.js' | |
], | |
dest: '<%= yeoman.app %>/locales/{locale}/i18n.json' | |
}, | |
build: { | |
src: '<%= yeoman.app %>/js/locales/**/i18n.json', | |
dest: '<%= yeoman.app %>/js/locales/{locale}/i18n.js' | |
}, | |
'export': { | |
src: 'js/locales/**/i18n.json', | |
dest: 'js/locales/{locale}/i18n.csv' | |
}, | |
'import': { | |
src: 'js/locales/**/i18n.csv', | |
dest: 'js/locales/{locale}/i18n.json' | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment