mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-11 08:25:29 +02:00
Feature/improve localization (#1147)
* use locale to set language header * rewrite i18n provider and drop dependency * rename file * rename CrudMixin to HttpRepo * refactor: code-cleanup * add crowdin source * remove unused translations * grab translations from dev branch * add translation support for foods, units, and labels * remove rich import
This commit is contained in:
parent
db095656e1
commit
7866f0f46e
71 changed files with 4736 additions and 3642 deletions
12
crowdin.yml
12
crowdin.yml
|
@ -4,3 +4,15 @@ files:
|
|||
translation: /frontend/src/locales/messages/%locale%.json
|
||||
- source: /frontend/src/locales/dateTimeFormats/en-US.json
|
||||
translation: /frontend/src/locales/dateTimeFormats/%locale%.json
|
||||
|
||||
# Backend General Messages
|
||||
- source: /mealie/lang/messages/en-US.json
|
||||
translation: /mealie/lang/messages/%locale%.json
|
||||
|
||||
# Resource Files
|
||||
- source: /mealie/repos/seed/resources/foods/en-US.json
|
||||
translation: /mealie/repos/seed/resources/foods/%locale%.json
|
||||
- source: /mealie/repos/seed/resources/units/en-US.json
|
||||
translation: /mealie/repos/seed/resources/units/%locale%.json
|
||||
- source: /mealie/repos/seed/resources/labels/en-US.json
|
||||
translation: /mealie/repos/seed/resources/labels/%locale%.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue