2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

[PUI] Raise translation/language support to CUI level (#5749)

* Added more languages

* Added translation stumps for PUI

* Exclude PUI translations from deepsource analysis

* Added comments to deepsource exlusions

* Modified language selection to use language names

* Refactored language mappings to be more efficient
following advice of @wolflu05

* Removed pseudo language from selection

* Translation cleanup

* Switched t/Trans useage

* switched back due to rendering limitations

* Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729"

This reverts commit 9b6e8fff88, reversing
changes made to 481cd70aca.

* Revert "Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729""

This reverts commit 143a531c1e.

* add translations back in

* add translations back in

* update translation postitions

* move language initialisation after loading
this means only en-gb for now

* update positions
This commit is contained in:
Matthias Mair
2023-10-27 11:25:02 +02:00
committed by GitHub
parent 0acfaced83
commit c47fa01965
127 changed files with 33723 additions and 18397 deletions

View File

@ -1,5 +1,35 @@
{
"locales": ["en", "de", "hu", "pseudo-LOCALE"],
"locales": [
"cs",
"da",
"de",
"el",
"en",
"es",
"es-mx",
"fa",
"fi",
"fr",
"he",
"hi",
"hu",
"it",
"ja",
"ko",
"nl",
"no",
"pl",
"pt",
"pt-br",
"ru",
"sl",
"sv",
"th",
"tr",
"vi",
"zh-hans",
"zh-hant",
"pseudo-LOCALE"],
"catalogs": [{
"path": "src/locales/{locale}/messages",
"include": ["src"],