mapcomplete/UI/i18n/Locale.ts
2020-07-24 17:53:09 +02:00

7 lines
243 B
TypeScript

import {UIEventSource} from "../UIEventSource";
import {LocalStorageSource} from "../../Logic/LocalStorageSource";
export default class Locale {
public static language: UIEventSource<string> = LocalStorageSource.Get('language', "en");
}