You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, we do have full support to externalize strings in extensions. All extensions in the vscode repository should be externalized so what we for example do in TS or JSON can be copied.
If markdown moves to its own repository and out of vscode then the story is more or less the same. You can use vscode-nls to do the string marking as in the normal extension code. To do the actual string extraction during build time there is another npm module that can be used called vscode-nls-dev.
Although not an extension vscode-node-debug uses both npm modules to do their internationalization work.
Only requires the package.json files to use keys that are resolved in the package.nls.json file. Everything afterwards is handled automatically. Nothing else todo.
Activity
jrieken commentedon May 31, 2016
Dirk Bäumer (@dbaeumer) can help. There is a story that we have used for the TypeScript extension and others
dbaeumer commentedon Jun 1, 2016
Yes, we do have full support to externalize strings in extensions. All extensions in the vscode repository should be externalized so what we for example do in TS or JSON can be copied.
If markdown moves to its own repository and out of vscode then the story is more or less the same. You can use vscode-nls to do the string marking as in the normal extension code. To do the actual string extraction during build time there is another npm module that can be used called vscode-nls-dev.
Although not an extension vscode-node-debug uses both npm modules to do their internationalization work.
Kai Maetzel (@kieferrm) please ping me if you need any additional information.
kieferrm commentedon Jun 14, 2016
Only requires the
package.jsonfiles to use keys that are resolved in thepackage.nls.jsonfile. Everything afterwards is handled automatically. Nothing else todo.