gettext-loader
Version:
gettext webpack loader for creating en.po files
16 lines (15 loc) • 444 B
JavaScript
module.exports = {
methods: ['__', 'translate'],
output: 'i18n/en.po',
header: {
'Project-Id-Version': '1233',
'Report-Msgid-Bugs-To':'Jonathan Huang',
'Last-Translator': 'Jonathan Huang',
'Language-Team': 'Squad Everywhere',
'Language': 'en',
'Plural-Forms': 'nplurals=2; plural=(n != 1);',
'MIME-Version': '1.0',
'Content-Type': 'text/plain; charset=UTF-8',
'Content-Transfer-Encoding': '8bit'
}
}