mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
[React] UI Translation Updates (#6257)
* Move locales definition into separate file - Cleanup settings.py a bit * Update docstring * Expose 'default_locale' to info API endpoint * Validate settings.LANGUAGE_CODE * Fix bug in BuildDetail page * Use selected language when making API queries * Translate more strings * Tweak variable name * Update locale config * Remove duplicate code * Remove compiled messages.ts translation files * Fixes for LanguageContext.tsx * Update messages.d.ts for sr locale * Ensure compiled files are served by django runserver * Amend changes to STATICFILES_DIRS * Cleanup prerender.py * Refetch status codes when locale is changed * Fix log msg * Clear out old static files
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -105,6 +105,7 @@ InvenTree/plugins/
|
||||
|
||||
# Compiled translation files
|
||||
*.mo
|
||||
messages.ts
|
||||
|
||||
# web frontend (static files)
|
||||
InvenTree/web/static
|
||||
|
Reference in New Issue
Block a user