centralize translation dictionary

Signed-off-by: Avelino <avelinorun@gmail.com>
This commit is contained in:
Avelino
2023-05-12 16:35:07 -03:00
committed by Gabriel Horner
parent 184ace5ad6
commit 1d14f6a98f
63 changed files with 2629 additions and 2537 deletions

View File

@@ -13,10 +13,8 @@ In order to run the commands in this doc, you will need to install
## Where to Contribute
Language translations are in two libraries,
[src/main/frontend/dicts/](https://github.com/logseq/logseq/blob/master/src/main/frontend/dicts/)
and
[src/main/frontend/modules/shortcut/dicts/](https://github.com/logseq/logseq/blob/master/src/main/frontend/modules/shortcut/dicts), in both packages the `core.cljc` file imports the isolated packages for each language.
Language translations in this library,
[src/main/frontend/dicts/](https://github.com/logseq/logseq/blob/master/src/main/frontend/dicts/), `<LOCALE>.cljc` file the isolated packages for each language.
## Language Overview
@@ -108,6 +106,4 @@ and tell you what's wrong.
## Add a Language
To add a new language, add an entry to `frontend.dicts.core/languages`. Then add a
new locale keyword to `frontend.dicts.core/dicts` and to
`frontend.modules.shortcut.dicts.core/dicts` and start translating as described above.
To add a new language, add an entry to `frontend.dicts.core/languages`. Then add a new locale keyword to `frontend.dicts.core/dicts`.