How to build templates.js

If possible, I would be interested to know how to build templates.js also.

The templates are in this folder if you checkout the code:

and are build using compile_templates.[bat/js] and node.js. So you need to install node.js. Instead of the node module “dustjs-linkedin” use my fork of it please ( https://github.com/uroni/dustjs ) otherwise the translations won’t work.

The template syntax is documented here: https://akdubya.github.io/dustjs/

Every variable starting with {t…} is looked up in the active translation. If it is not found the “t” is removed and the variable is replaced with the string starting after the “t”.

Attached is my node.js-module tree.

node_modules.zip (278.3 KB)