mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +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 parent
386aa5952c
commit
7d36049ac9
43 files changed
+129
-91
Reference in new issue
Block a user