Website languages

ezPAARSE is available in french and in english.

The i18n-2 NodeJS module was chosen because it integrates well with Express.js, used to generate the HTML pages of ezPAARSE.

The language files are located in the “locales” folder in the form of json files. Those filenames follow the pattern: country_code.json (eg: fr.json or en.json)

The language files contain series of keys. Each key is followed by a translation in the target language.

The key is composed of a context and a french label: context+french_label.

The context matches the name of the HTML page in which the label appears.