Skip to content

Commit

Permalink
Merge pull request #891 from danielhjames/BK-2494
Browse files Browse the repository at this point in the history
BK-2494 Add Farsi, Arabic and Romanian options to interface or book language
  • Loading branch information
eos87 authored Jul 9, 2018
2 parents 7af7b27 + 1803191 commit 087c748
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ Jujhar Singh (Punjabi)
Katerina Michailidi, George Battes (Greek)
Kjetil Nordengen, Paul Graabein (Norwegian)
Luba Sirina, Marina Klinova, Andrey Podshivalov, Oleg Pshenichniy, Ivan Satsiuk (Russian)
Marius (Romanian)
Meysam Shaygan, Dr. Somaye Joolaee (Farsi)
Raoul Breugelmans, Hiroyuki Anraku (Japanese)
Rivo Zängov (Estonian)
Seongho Jang (Korean)
Tahseen Zayouna, Dr. Somaye Joolaee (Arabic)
Tomi Toivio (Finnish)
Zsolt Magyar, Csaba Madarász (Hungarian)
16 changes: 16 additions & 0 deletions lib/booki/editor/fixtures/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,21 @@
"abbrevation": "et",
"name": "Eesti keel"
}
},
{
"pk": 25,
"model": "editor.language",
"fields": {
"abbrevation": "fa",
"name": "فارسی"
}
},
{
"pk": 26,
"model": "editor.language",
"fields": {
"abbrevation": "ro",
"name": "Română"
}
}
]
3 changes: 3 additions & 0 deletions lib/booktype/skeleton/base_settings.py.original
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,14 @@ gettext = lambda s: s
LANGUAGES = (
('en', gettext('American English')),
('en-gb', gettext('British English')),
('ar', gettext('العَرَبِيَّة')),
('ca', gettext('Català')),
('cs', gettext('Česky')),
('de', gettext('Deutsch')),
('el', gettext('Ελληνικά')),
('es', gettext('Español')),
('et', gettext('Eesti keel')),
('fa-ir', gettext('فارسی')),
('fr', gettext('Français')),
('it', gettext('Italiano')),
('ja', gettext('日本語')),
Expand All @@ -163,6 +165,7 @@ LANGUAGES = (
('pl', gettext('Polski')),
('pt', gettext('Português')),
('pt-br', gettext('Português do Brasil')),
('ro-ro', gettext('Română')),
('ru', gettext('Русский')),
('sq', gettext('Shqipe')),
('fi', gettext('Suomi')),
Expand Down

0 comments on commit 087c748

Please sign in to comment.