Uh oh!
There was an error while loading. Please reload this page.
i18n - #99
Conversation
WebFreak001
commented
Jan 25, 2017
I saw that @SeijiFujita has some translations of the settings in his repo: https://github.com/SeijiFujita/quiita_works/blob/master/using_vscode_04/using_vscode_04.md#d-configuration-settingjson @SeijiFujita Are those direct translations that I could include in the japanese translation of code-d in this PR? I can copy them in here if you allow me to, or you could PR into this branch ( |
You can use translations I uploaded to github. I actively want to
participate in PR of code-d i18n. However, I do not understand vscode
language nls function, do you have a file to convert to Japanese somewhere?
--------
I decided to create package.nls.ja.json, I saw this page and understood.
--------
I have created "package.nls.ja.json" and changed "package.json".
After translating the title of the command, the incremental search did not work. I added a category to package.json.
https://github.com/SeijiFujita/code-d-ja |
WebFreak001
commented
Jan 26, 2017
Hm the category seems like a nice workaround for microsoft/vscode#17549 but I would prefer if they fixed that instead of using category. Usually they take very long to implement those minor side issues and also never really give any feedback on the issue by closing it. But I think because this also affects their extensions, this should get implemented a bit quicker. Also when done with translating make sure the commands work (just try typing one command) and make sure the status messages work (just set Also if you want to have it a bit easier to merge your changes into this repository later, fork code-d (this repository) and run |
SeijiFujita
commented
Jan 28, 2017
understand that "category" thing. I'd like to create a branch for this "i18n", but I could not.
Can I PR for this "i18n-ja"? |
WebFreak001
commented
Jan 28, 2017
that should work, I need to merge master into here anyway so that should be fine |
WebFreak001
commented
Jan 28, 2017
But actually the way you did it won't work. Try these steps instead:
|
WebFreak001
commented
Apr 3, 2018
TODO: redo for serve-d rewrite which is now in master |
Swedish is basically just to attract some Swedish users to D and Japanese because a lot of D users are Japanese. Just had German done now because I needed a language to test the feature, but it's also useful because there are a lot of Germans in the D community too.
Adding a translation: Duplicate
package.nls.jsonand name itpackage.nls.<language>.json, where<language>is a 2 letter language code(?) likedeorja. If you aren't sure what the code is start vscode with the locale of your choice, addconsole.log(vscode.env.language);tosrc/extension.tsin the line just afterexport function activate(...) {and start the extension. The code will get logged right at the top as first message. Then just go in your file and translate all string values.