Initial version of i18n-sample

To keep things simple, this doesn't use the nls-dev package. I think this demystifies a lot of things when you see what is actually going on behind the scenes.
This commit is contained in:
Nick Chen
2017-07-08 14:59:34 -07:00
committed by Dirk Baeumer
parent 9ec4b5deeb
commit ff96d2a669
14 changed files with 54 additions and 5 deletions

View File

@ -0,0 +1 @@
["さようなら"]

View File

@ -0,0 +1,4 @@
{
"messages": ["Bye"],
"keys": ["sayBye.text"]
}

View File

@ -11,4 +11,4 @@ const localize = nls.loadMessageBundle();
export function sayByeCommand() {
const message = localize('sayBye.text', 'Bye')
vscode.window.showInformationMessage(message);
}
}