Foramontano/adding languages (#89)

- Doc that describes the steps to add a new language  to Spacedeck Open
- New file with translated entries for using in Spacedeck Open in Spanish
- Include 'es' as new locale in Spacedeck Open
- Include a radiobutton for users could select the new language
This commit is contained in:
foramontano
2020-09-09 16:05:55 +02:00
committed by GitHub
parent ff1da80695
commit 7f72992d06
5 changed files with 356 additions and 1 deletions

View File

@@ -107,6 +107,9 @@
</label>
<label class="radio" v-bind:class="{checked: user.prefs_language=='oc'}" v-on:click="save_user_language('oc')">
<input type="radio" id="user-preferences_language" name="language" value="oc"><span>Occitan</span>
</label>
<label class="radio" v-bind:class="{checked: user.prefs_language=='es'}" v-on:click="save_user_language('es')">
<input type="radio" id="user-preferences_language" name="language" value="es"><span>Español</span>
</label>
</div>
</div>