Change default locale.
This commit is contained in:
parent
9655e4d9a1
commit
1190052e54
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ export default class Locale {
|
||||||
public static language: UIEventSource<string> = Locale.setup();
|
public static language: UIEventSource<string> = Locale.setup();
|
||||||
|
|
||||||
private static setup() {
|
private static setup() {
|
||||||
const source = LocalStorageSource.Get('language', "en");
|
const source = LocalStorageSource.Get('language', "de");
|
||||||
if (!UIElement.runningFromConsole) {
|
if (!UIElement.runningFromConsole) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.setLanguage = function (language: string) {
|
window.setLanguage = function (language: string) {
|
||||||
|
|
Loading…
Reference in a new issue