mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
server: Update locale when switching language from settings
This commit is contained in:
@@ -41,4 +41,8 @@ function getCurrentLanguage() {
|
||||
}
|
||||
|
||||
return language;
|
||||
}
|
||||
}
|
||||
|
||||
export function changeLanguage(locale: string) {
|
||||
return i18next.changeLanguage(locale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user