mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-07 02:03:50 +00:00
Lithuanian (#8134)
* Add lithuanian support to backend * Lithuanian support for frontend
This commit is contained in:
@@ -10,6 +10,8 @@ Additionally, update the following files with the new locale code:
|
||||
|
||||
- /src/frontend/.linguirc file
|
||||
- /src/frontend/src/contexts/LanguageContext.tsx
|
||||
|
||||
(and then run "invoke int.frontend-trans")
|
||||
"""
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
@@ -34,6 +36,7 @@ LOCALES = [
|
||||
('it', _('Italian')),
|
||||
('ja', _('Japanese')),
|
||||
('ko', _('Korean')),
|
||||
('lt', _('Lithuanian')),
|
||||
('lv', _('Latvian')),
|
||||
('nl', _('Dutch')),
|
||||
('no', _('Norwegian')),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -19,6 +19,7 @@
|
||||
"it",
|
||||
"ja",
|
||||
"ko",
|
||||
"lt",
|
||||
"lv",
|
||||
"nl",
|
||||
"no",
|
||||
|
||||
@@ -36,6 +36,7 @@ export const getSupportedLanguages = (): Record<string, string> => {
|
||||
it: t`Italian`,
|
||||
ja: t`Japanese`,
|
||||
ko: t`Korean`,
|
||||
lt: t`Lithuanian`,
|
||||
lv: t`Latvian`,
|
||||
nl: t`Dutch`,
|
||||
no: t`Norwegian`,
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { Messages } from '@lingui/core';
|
||||
declare const messages: Messages;
|
||||
export { messages };
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user