Closed laubonghaudoi closed 3 years ago
General steps could work. Assume you want to publish zh-HK language pack
@danyeh Thanks for the instructions! However, we would like to point out that this is not a zh-hk
locale, but a yue-hant
locale. The language name is Cantonese, without region specifications (Cantonese is used in mainland China, Hong Kong, Macau and overseas). Thus the language id would be yue
, and the folder will be named as i18n/vscode-language-pack-yue
. Is this okay?
Thank you for clarify! Then I would suggest i18n/vscode-language-pack-yue-hant in case other contributor would introduce hans in the future.
// yue Cantonese // yue-Hans Cantonese // yue-Hant Cantonese
I see. So to confirm, the language id would be yue
, and the folder would be named as i18n/vscode-language-pack-yue-hant
, is this correct?
Better to match:
Language ID: yue-hant
Folder: i18n/vscode-language-pack-yue-hant
@danyeh Thanks for the clarifications and we are working on the translation now. But we have another question, where can we find the original en
texts? They don't seem to be in this repo.
We don't have corresponding en string json file because source strings are embedded in source code. But I think can use en-GB as reference. @nexue2020 , can you refresh en-GB to latest? Thanks! https://github.com/microsoft/vscode-loc/tree/master/i18n/vscode-language-pack-en-GB
@danyeh @nexue2020 We are referring to the translations in en-GB
, but it seems like it is missing a lot of entries. Many items in the traditional Chinese locale do not exist in en-GB
, please see the screenshot below:
Is this normal? We are curious how the translators of en-GB
looked up the original texts. Did they just read the source codes? Thanks!
en-GB is re-published last week. Closing the issue as resolved.
This issue was originally opened in https://github.com/microsoft/vscode/issues/112607
As @danyeh mentioned, we could make a community-maintained language pack. May we know how to proceed?
Language name in English: Cantonese Language Name in its own script: 粵語 ISO 693-3 code of the language: yue
Reference
ISO 693 Identifier Documentation: https://iso639-3.sil.org/code/yue