#10663 closed (fixed)
Serbian translations
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Translations | Version: | dev |
Severity: | Keywords: | Serbian | |
Cc: | janos@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Serbian language uses two scripts, Cyrillic (official), and Latin (unofficial, but widely used). I provide translations for both scripts, but I made sr
locale Cyrillic, whereas the old sr
locale has moved to sr_LA
. I have not coordinated the efforts with the original translators, but the original translation seems quite outdated, so I assumed it was ditched.
Attachments (5)
Change History (15)
by , 16 years ago
comment:1 by , 16 years ago
I'm sorry for uploading multiple files of same name here, but I wanted to make it clear the sr
translations replace what is currently called sr
, and the current sr
moves to sr_LA
.
comment:2 by , 16 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 16 years ago
Since we already had #10175 for this, with an initial conversion to Cyrillic, that has been committed to trunk. Could you update the patches to work with that, please. We've had quite some discussions about this on django-i18n, so some coordination with the other translators would have saved a bit of duplicated effort here.
comment:4 by , 16 years ago
Patch needs improvement: | set |
---|
comment:5 by , 16 years ago
This patch has been accepted as the working version by the SR translation team, synced with Janos' version, and we are now fixing bits and pieces. It will updated to latest trunk after that, and posted here. Hopefully this will happen during this week.
comment:6 by , 16 years ago
Patch needs improvement: | unset |
---|
Here is a patch from Serbian translation team. It includes Serbian and Serbian Latin translations. We agreed that the code for Serbian Latin translation should be sr_Latn. There were some discussions on django-i18n list about that.
Please consider this patch for 1.1 version because it is updated against recent SVN revision.
by , 16 years ago
Attachment: | sr_and_sr_Latn.diff added |
---|
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 by , 15 years ago
Cc: | added |
---|---|
Has patch: | unset |
Needs tests: | set |
Resolution: | fixed |
Status: | closed → reopened |
I believe that there is a bug.
Latin (sr_Latn) translation is not recognized when it is only in django/local directory (in my case /usr/lib/pymodules/python2.5) even if I change dir name to sr_LATN. When I add translations (sr and sr_Latn) to my projecst/locale dir, the latin translation is recognized only with last four letters are capitalized (sr_LATN).
comment:9 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I've just re-tested this, and it works fine for me.
In settings.py:
LANGUAGE_CODE = 'sr-Latn'
(note - this is a dash, not an underscore)
To create PO files:
./manage.py makemessages -l sr_Latn
This will create a locale directory of sr_Latn
If you're having problems, you'll need to provide more explicit instructions - including exactly what settings you are using, and what errors/incorrect behaviour you are observing.
django.po for
sr
locale