2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-09 11:08:54 +00:00

Arabic support (#7630)

* Add 'ar' language (Arabic)

* Add front-end support
This commit is contained in:
Oliver
2024-07-12 11:31:36 +10:00
committed by GitHub
parent a237de10ec
commit fb17078497
6 changed files with 20940 additions and 0 deletions
@@ -15,6 +15,7 @@ Additionally, update the following files with the new locale code:
from django.utils.translation import gettext_lazy as _
LOCALES = [
('ar', _('Arabic')),
('bg', _('Bulgarian')),
('cs', _('Czech')),
('da', _('Danish')),
File diff suppressed because it is too large Load Diff
+1
View File
@@ -1,5 +1,6 @@
{
"locales": [
"ar",
"bg",
"cs",
"da",
@@ -17,6 +17,7 @@ export const defaultLocale = 'en';
*/
export const getSupportedLanguages = (): Record<string, string> => {
return {
ar: t`Arabic`,
bg: t`Bulgarian`,
cs: t`Czech`,
da: t`Danish`,
+4
View File
@@ -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