Comments (2)
I posted a similar question to StackOverflow, and after figuring it out (using the above comment) added a step-by-step (ish) guide to getting the i18n-sample working.
Hopefully if anyone else is stuck with this that helps move them in the right direction.
It would be great if some more of this especially the format of the translated xlf file was spelled out in the readme for i18n-sample
from vscode-extension-samples.
Regarding Q1: none of your tools force to use a special translation platform. So it is up to you to decide how these strings are translated. All the tooling does is to assume that there is a i18n folder with sub folder per language were the folder name uses ISO 639-3 convention. Underneath these folders the directory structures is the same as for the source code. If you are using Transifex to translate the project then vscode-nls-dev provides gulp functions to automatically push and pull to Transifex honoring the directory structure. If you choose to use your own translation platform you need to write your own import / export scripts. See https://github.com/Microsoft/vscode-node-debug2.git for an example that uses Transifex.
Q2.: https://github.com/Microsoft/vscode-node-debug2.git is again a good example.
I am closing the issue. Please ping if there something is still unclear.
from vscode-extension-samples.
Related Issues (20)
- Why not enable discussions on this repo HOT 1
- InlineCompletion Not Triggered on accepting when "command" option provided to InlineCompletionItem. HOT 2
- Add example using TypeScript in webviews HOT 2
- vscode extesion http keep-alive problem HOT 1
- Vs code in git hub HOT 1
- semantic-tokens-sample doesn't activate on launch.
- Test-Provider-Sample: Continuous RunHandler registers redundantly HOT 6
- How do you get the node in the treeview that is being clicked HOT 1
- How to create multi language vscode plugins HOT 1
- Dynamic snippet.json loading | Help HOT 1
- Callback/Event after quickOpen is closed (item selected or cancel) HOT 1
- Please add a sample for using Editor Menus and Submenus
- Initialize response from LSP Server doesn't reach the (vscode) lsp client (TransportKind is stdio) HOT 3
- extension-terminal-sample is not working. HOT 1
- Codespace HelloWorld tutorial mismatched version
- feat: recommend and support Bun HOT 1
- Product icons not showing in webviews (React) HOT 1
- Command 'Github Authentication Sample: Get Github User' resulted in an error
- Report Extension Sample Issue
- The "View Problem" positioning error in the code diagnosis pop-up window HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-extension-samples.