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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 20940 additions and 0 deletions

View File

@ -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

View File

@ -1,5 +1,6 @@
{
"locales": [
"ar",
"bg",
"cs",
"da",

View File

@ -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`,

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