web: add basic lingui
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
7
web/src/interfaces/locale.ts
Normal file
7
web/src/interfaces/locale.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { i18n } from '@lingui/core'
|
||||
|
||||
// messages.js is generated by the cli
|
||||
import { messages } from '../locales/en';
|
||||
|
||||
i18n.load('en', messages)
|
||||
i18n.activate('en')
|
||||
Reference in New Issue
Block a user