## Adding a new language to Spacedeck Open To add a new language to Spacedeck Open, follow these steps: *The steps are ilustrated with Spanish (locale 'es') as the new language* - Include the new locale ('es') at the locale list (./spacedeck.js) ``` locales: ["en",..., "es"], ``` - Create the new translation file (/locales/**es.js** thar it's a copy of /locales/en.js). and translate the entries. - Include the javascript for letting Spanish info accesible (at the end of /views/spacedeck.html) ``` ... window.locales.es = {}; ... window.locales.es.translation = {% include "./../locales/es.js" %}; ``` - Include a radiobutton for users could seleect the new language (/views/partials/account.html) ``` ```