adding console command to generate javascript translation files based on existing php translation files read server side translations from json files