Generate js and json translation files