i18n-node icon indicating copy to clipboard operation
i18n-node copied to clipboard

Generating localized browser builds with gulp, gulp-replace and browserify. Good idea ?

Open romainbessugesmeusy opened this issue 10 years ago • 3 comments

I worked on a proof of concept yesterday. It works. But do you think it's a good idea ?

https://github.com/romainbessugesmeusy/gulp-i18n-static

romainbessugesmeusy avatar Nov 10 '15 14:11 romainbessugesmeusy

sure it is - thank you! You might get some inspiration from grunt modules too:

  • https://www.npmjs.com/package/grunt-template-runner
  • https://www.npmjs.com/package/grunt-gettext-static-build

...although I never tried them yet

mashpie avatar Nov 10 '15 15:11 mashpie

No thank you for the i18n library ! Do you see any interest in building an intelligent static parser that converts plurals and sprintf / placeholders ?

romainbessugesmeusy avatar Nov 10 '15 15:11 romainbessugesmeusy

check https://gist.github.com/aseemk/6137395 for parsing skript, there might be more I never knew :)

getting a simple cli included into i18n will be interesting in near future

mashpie avatar Nov 10 '15 15:11 mashpie