Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#13833 closed (fixed)

Fix for Indonesian localization (formats.py)

Reported by: rodin Owned by: nobody
Component: Translations Version: 1.2
Severity: Keywords:
Cc: claude@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

  • Language names doesn't have to be preceded with "Bahasa"
  • Removing some uneeded plural variations (like obyek-obyek)
  • Some city/location names in Indonesian language: Geneva, Chile, Vienna, Scotlandia
  • Fix proper shortened date/month string (Sun, Tue, Wed,...)
  • Fix some typos and upper-cased term
  • Fix uppercase "anda", should be Anda
  • Fix time separator, formal Indonesian use dot (.) not colon (ref: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan)
  • Streamline (and some fix) with other Indonesian l10n projects (wikipedia, firefox, gnome)
    • object => objek
    • field => isian
    • primary key => kunci utama
    • error => galat
    • log in => masuk log
    • log out => keluar log
    • (web) page => laman
    • username => nama pengguna
    • reset => setel ulang
    • template => templat
    • view => tampilan
    • permission => hak akses
    • cookie => kuki (indonesian google style)
    • e-mail => email (without dash)
    • preview => pratinjau (indonesian firefox style)
    • region => wilayah
    • US state => negara bagian AS (not province)
    • foreign key => kunci asing
    • primary key => kunci utama

Attachments (2)

id_locale_againts_r13402.diff (78.3 KB ) - added by rodin 15 years ago.
Diff against r13402
id_locale_againts_r15368.diff (2.8 KB ) - added by rodin 14 years ago.
Diff against r15368, only at django/conf/locale/id/formats.py

Download all attachments as: .zip

Change History (8)

by rodin, 15 years ago

Diff against r13402

comment:1 by Russell Keith-Magee, 14 years ago

Thanks for the contribution; however, the patch doesn't apply cleanly.

Firstly, you don't have to include .mo files as part of your patch. They're compiled binary artefacts; you only need to submit a patch to the .po files.

Secondly, I get the following error compiling your po files:

/Users/rkm/projects/django/hg/django/conf/locale/id/LC_MESSAGES/django.po:1126: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: The string ends in the middle of a directive.

comment:2 by Russell Keith-Magee, 14 years ago

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

comment:3 by Claude Paroz, 14 years ago

Django translations are now done through the Transifex project.

You will find all required information on the Django documentation website:

http://docs.djangoproject.com/en/dev/internals/contributing/#submitting-and-maintaining-translations

This ticket remains valid for fixes in the django/conf/locale/id/formats.py. Could you please provide a patch for this file only?

by rodin, 14 years ago

Diff against r15368, only at django/conf/locale/id/formats.py

comment:4 by Claude Paroz, 14 years ago

Cc: claude@… added
milestone: 1.3
Patch needs improvement: unset
Summary: Fix for Indonesian localizationFix for Indonesian localization (formats.py)
Triage Stage: AcceptedReady for checkin

Thanks, the patch looks good.

Note however that there are still many references that seem to use the ":" for hour separation, notably CLDR:
http://unicode.org/repos/cldr/trunk/common/main/id.xml

comment:5 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15494]:

Fixed #13833 -- Corrected the Indonesian localization. Thanks to rodin for the report and patch.

comment:6 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top