// Total.js translation file // Created: 2014-12-18 10:32
// index.html
T80818744 : Titulok
T-52966915 : Ahoj svet!
T-1870230665 : Total.js je webový framework pre Node.js
// IMPORTANT: This line was created manually
message : Priame čítanie
Total.js can translate only phrases wrapped in
@(TEXT TO LOCALIZE). First you need to define Total.js delegateonLocalewhich can set the language for each request:/resources/YOURLANGUAGE.resourcedefault.resource(if exists)How to create a resource file with localization?
I have prepared great utilites for localization, just install Total.js framework as a global library from NPM:
$ sudo npm install -g total.jsTotal.js terminal app will create
translate.resourcefile. Localize this file and copy it to/resources/YOURLANGUAGE.resourceand restart app. That's all.