Skip to content

multi language support#894

Merged
DJ2LS merged 73 commits intodevelopfrom
ls-i18n
Mar 7, 2025
Merged

multi language support#894
DJ2LS merged 73 commits intodevelopfrom
ls-i18n

Conversation

@DJ2LS
Copy link
Owner

@DJ2LS DJ2LS commented Feb 25, 2025

With the help of @LA3QMA and @petrkr we might be able solving this issue.

the branch "ls-i18n" contains a first working version.
At least you have to do the following things:

  • Create a new language file with <iso>_<name>.json like en_English.json
  • create new variable files inside templates like {{ $t('settings_enable') }}
  • create variable inside language.

Notes:

  • Language files will be detected automatically.
  • Let's start with English settings first. Please think about a good naming. like <categorie>.<setting or whatever>
  • As soon as we have all variables created in English, we can continue with the specific language files, as the variable names are static.
  • Language files are stored in "locales" folder

If you are working on this, please always push your changes directly, so we are avoiding merging issues.

There is a Tool "i18next-conv" for conversion between json and po

@DJ2LS DJ2LS changed the base branch from main to develop February 25, 2025 13:08
@DJ2LS DJ2LS added the GUI label Feb 25, 2025
@DJ2LS DJ2LS merged commit 64003f6 into develop Mar 7, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants