webpack-contrib / i18n-webpack-plugin

[DEPRECATED] Embed localization into your bundle
MIT License
318 stars 74 forks source link

Generate json files #11

Closed ffigiel closed 7 years ago

ffigiel commented 9 years ago

Is there an easy way to generate json files for each language? Incremental generation would be awesome (i.e. it won't remove existing translations.)

ffigiel commented 9 years ago

I managed to get what I needed with the help of i18n-extract module

ezmiller commented 8 years ago

anyone know if there's a way to do this with pybabel?

miamollie commented 5 years ago

Hey @megapctr, any chance you could share your i18n-extract solution for extracting strings into json? Thanks!

ffigiel commented 5 years ago

I haven't touched it in a looong while, but you can see it here. It's a node script. https://github.com/s3v3ns/sxconsole/blob/master/i18n-manager.js

miamollie commented 5 years ago

@megapctr Thanks for sharing, really helps!