Skip to content

Commit

Permalink
Prepare i18n configuration for Hebrew
Browse files Browse the repository at this point in the history
Not yet made available in UI because coverage is insufficient
  • Loading branch information
benoit74 committed Jan 6, 2025
1 parent 8c15fc0 commit 2c9061c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/zimitfrontend/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ class ApiConfiguration:
locales_location = pathlib.Path(os.getenv("LOCALES_LOCATION", "../locales"))

# list of rtl language codes
rtl_language_codes = ("fa",)
rtl_language_codes = ("fa", "he")
1 change: 1 addition & 0 deletions ui/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const supportedLanguages: Language[] = [
{ code: 'es', display: 'Español', rtl: false },
{ code: 'fa', display: 'فارسی', rtl: true },
{ code: 'fr', display: 'Français', rtl: false },
// { code: 'he', display: 'עברית', rtl: true },
{ code: 'id', display: 'Bahasa Indonesia', rtl: false },
// { code: 'ko', display: '한국어', rtl: false },
// { code: 'lb', display: 'Lëtzebuergesch', rtl: false },
Expand Down

0 comments on commit 2c9061c

Please sign in to comment.