diff --git a/wwwroot/i18n/language.ui b/wwwroot/i18n/language.ui index 123c1f7..38fb76f 100644 --- a/wwwroot/i18n/language.ui +++ b/wwwroot/i18n/language.ui @@ -1,4 +1,5 @@ { + "id":"language", "widgettype":"Text", "options":{ "tip":"change UI language", @@ -22,6 +23,13 @@ "options":{ "url":"{{entire_url('menu.ui')}}" } + }, + { + "wid":"app", + "event":"lang", + "actiontype":"script", + "target":"self", + "script":"this.set_otext(bricks.app.lang)" } ] }