diff options
author | Erik Michelson | 2020-08-13 23:41:44 +0200 |
---|---|---|
committer | Erik Michelson | 2020-08-13 23:41:44 +0200 |
commit | da35e73346eba908071a7a5c5831a3d280769b9c (patch) | |
tree | 16620c34e26e865c351032e848cab0009953105c /public/vendor | |
parent | ce469b1e2d66a5f598d316e0836ea361a4ccc61a (diff) |
Restructured locale.js to be included into the editor's js bundle
Until now client-side translations were only possible in the context of the intro/history page, because the locale-detection logic relied on the language selector as a source of available languages. The editor of course has no such selector. With this commit, I copied the list of available languages from the i18n-initialization (server-side) to support language detection in the editor too.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to 'public/vendor')
0 files changed, 0 insertions, 0 deletions