Add translation support for Bulgarian (#5863)

* Enable Bulgarian for backend

* Build out initial backend translations

* Add integration for frontend
This commit is contained in:
Oliver 2023-11-05 21:28:14 +11:00 committed by GitHub
parent dbf1baf0ed
commit ea249c1dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 16339 additions and 1 deletions

View File

@ -814,8 +814,9 @@ LANGUAGE_COOKIE_AGE = 2592000
# If a new language translation is supported, it must be added here
# After adding a new language, run the following command:
# python manage.py makemessages -l <language_code> -e html,js,py --nowrap
# python manage.py makemessages -l <language_code> -e html,js,py --no-wrap
LANGUAGES = [
('bg', _('Bulgarian')),
('cs', _('Czech')),
('da', _('Danish')),
('de', _('German')),

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -10,6 +10,7 @@ import { useLocalState } from '../states/LocalState';
export type Locales = keyof typeof languages | 'pseudo-LOCALE';
export const languages: Record<string, string> = {
bg: t`Bulgarian`,
cs: t`Czech`,
da: t`Danish`,
de: t`German`,

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

File diff suppressed because one or more lines are too long