Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: html lang attr (#718)

boojack4a64a4dea8c6
diff --git a/web/src/App.tsx b/web/src/App.tsx
index 4562a47df..9fe3877da 100644
--- a/web/src/App.tsx
+++ b/web/src/App.tsx
@@ -46,6 +46,7 @@ function App() {
}, [systemStatus]);
useEffect(() => {
+ document.documentElement.setAttribute("lang", locale);
i18n.changeLanguage(locale);
storage.set({
locale: locale,