Coder Social home page Coder Social logo

Comments (2)

JarrettSpiker avatar JarrettSpiker commented on May 21, 2024 3

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.

https://stackoverflow.com/questions/58294569/automatically-create-i18n-directory-for-vscode-extension/

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.

dbaeumer avatar dbaeumer commented on May 21, 2024

@DonJayamanne

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.