Opened 5 years ago

Closed 4 years ago

Last modified 4 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: UI/UX:

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 5 years ago.
Diff against r13402
id_locale_againts_r15368.diff (2.8 KB) - added by rodin 4 years ago.
Diff against r15368, only at django/conf/locale/id/formats.py

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by rodin

Diff against r13402

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 Changed 5 years ago by russellm

  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 4 years ago by claudep

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?

Changed 4 years ago by rodin

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

comment:4 Changed 4 years ago by claudep

  • Cc claude@… added
  • milestone set to 1.3
  • Patch needs improvement unset
  • Summary changed from Fix for Indonesian localization to Fix for Indonesian localization (formats.py)
  • Triage Stage changed from Accepted to Ready 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 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

In [15494]:

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

comment:6 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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