Reputation: 1368
I found out that in django LANGUAGE_CODE, et
stands for Estonian
; I was expecting it would stand for Ethiopian
, the language that I am trying to internationalize my app to. My question is, how do I go on internationalizing a django app to a language not listed here?
>>> from django.conf.global_settings import LANGUAGES
>>> langs = LANGUAGES
>>> for a in langs:
... print(a)
...
('af', 'Afrikaans')
('ar', 'Arabic')
('az', 'Azerbaijani')
('bg', 'Bulgarian')
('be', 'Belarusian')
# many more results
('et', 'Estonian')
#some more results
I am using Django 1.6.5
on Windows 7 with Python34
For the curious ones, here is what Ethiopic font example.
አበበ በሶ በላ ለቁርስ ዩሁን ምሣ እግዜር ይወቀው::
Upvotes: 3
Views: 423
Reputation: 6488
Your question has already been answered here:
adding a custom language to django
I guess you're translating to Amharic language? So maybe the language code am
would be convenient.
Upvotes: 1