Skip to content

Conversation

ri0t
Copy link

@ri0t ri0t commented Jul 11, 2018

All you need to do is add a 'compileCatalog' bool set to true to your webpack config like this:
new AngularGetTextPlugin({
compileTranslations: {
// Adapt as necessary, this includes all languages in a default LC_MESSAGES catalog
input: '../locale/**/LC_MESSAGES/frontend.po',
outputFolder: 'l10n',
format: 'json',
compileCatalog: true // Addition to actually split into multiple files
}
})

All you need to do is add a 'compileCatalog' bool set to true to your webpack config like this:
new AngularGetTextPlugin({
   compileTranslations: {
        // Adapt as necessary, this includes all languages in a default LC_MESSAGES catalog
        input: '../locale/**/LC_MESSAGES/frontend.po', 
        outputFolder: 'l10n',
        format: 'json',
        compileCatalog: true // Addition to actually split into multiple files
   }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant