Make interface language configurable from settings

The locale can now be configured in settings and is stored in
Vuex. The changes are applied immidiately after selection. The list of
languages is taken from the messages file, which contains all the
available locales (and a new value, `interfaceLanguage`, to control
the translation of this option in the options menu)

Closes #36
This commit is contained in:
Ekaterina Vaartis 2018-08-25 13:12:33 +03:00
parent 30a6b7be5b
commit c1e4bfa90f
9 changed files with 64 additions and 5 deletions

View file

@ -84,6 +84,10 @@
</li>
</ul>
</div>
<div class="setting-item">
<h2>{{ $t('settings.interfaceLanguage') }}</h2>
<interface-language-switcher />
</div>
</div>
</div>
</template>