update all translation files to js and json
Fix language file detection