2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-09 00:38:50 +00:00
InvenTree/src/frontend/.linguirc
Matthias Mair c47fa01965
[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 9b6e8fff8801a202379ce1244dd6b7d64f69520a, reversing
changes made to 481cd70acadf8157b905cd8805840d82a7b293c6.

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

This reverts commit 143a531c1e631aa56cce72b99cf69620cd8b3fe1.

* 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
2023-10-27 20:25:02 +11:00

47 lines
809 B
Plaintext

{
"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"],
"exclude": ["**/node_modules/**"]
}],
"format": "po",
"orderBy": "origin",
"sourceLocale": "en",
"pseudoLocale": "pseudo-LOCALE",
"fallbackLocales": {
"default": "en",
"pseudo-LOCALE": "en"
}
}