ONNX

Rename the Japanese voice from ja_JA to ja_JP

#107

JA is not an assigned ISO 3166-1 region subtag; Japan is JP, so ja_JA is not a well-formed BCP 47 tag and locale-aware clients cannot resolve it (Locale.localizedString(forIdentifier:) returns nil on iOS, reported in discussion #106).

Move ja/ja_JA/ to ja/ja_JP/, correct language.code and language.region in the voice config, correct the MODEL_CARD, and fix the key in voicefest.py's _LANGUAGES table.

The model file is byte-identical, so its md5 in voices.json is unchanged; only the paths, the config digest and the MODEL_CARD digest move.

The old name is recorded in ja/ja_JP/hi_fi_captain/medium/ALIASES, so voices.json carries it as an alias of the new key.

synesthesiam changed pull request status to open
synesthesiam changed pull request status to merged

Sign up or log in to comment