Skip to content

Commit

Permalink
Add hindi
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere committed Mar 2, 2024
1 parent c80e8f5 commit 8f4f11a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import translationEs from "./locales/es/translation.json";
import translationEu from "./locales/eu/translation.json";
import translationFi from "./locales/fi/translation.json";
import translationFr from "./locales/fr/translation.json";
import translationHi from "./locales/hi/translation.json";
import translationIt from "./locales/it/translation.json";
import translationJa from "./locales/ja/translation.json";
import translationKo from "./locales/ko/translation.json";
Expand Down Expand Up @@ -103,6 +104,9 @@ const resources = {
ur: {
translation: translationUr,
},
hi: {
translation: translationHi,
},
};
i18n
// detect user language
Expand Down
4 changes: 4 additions & 0 deletions src/layouts/settings/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ export function Profile() {
value: "ur",
label: t("settings.urdu"),
},
{
value: "hi",
label: t("settings.hindi"),
},
]}
/>
<Button
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"slovak": "Slovak",
"hungarian": "Hungarian",
"urdu": "Urdu",
"hindi": "Hindi",
"updateaccountinformation": "Update profile settings",
"cancel": "Cancel",
"scandirectory": "Scan Directory",
Expand Down

0 comments on commit 8f4f11a

Please sign in to comment.