Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #126 (closed enhancement: fixed)

Opened 14 years ago

Last modified 12 years ago

[PATCH] Add tg-admin commands for i18n

Reported by: elvelind@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TurboGears Version:
Severity: normal Keywords:
Cc: ischenko@…

Description

add commands to extract locale files and compile them.

Attachments

i18n.py Download (7.4 KB) - added by ischenko@… 13 years ago.
Proposed module that implements this functionality
catalog.patch Download (1.4 KB) - added by ischenko@… 13 years ago.
patch to catalog.py to fix msgid quoting and file backup bug
i18n.2.py Download (9.6 KB) - added by ischenko@… 13 years ago.
new version with support for Kid templates
setup.patch Download (458 bytes) - added by ischenko@… 13 years ago.
registers i18n plugin within tg-admin

Change History

comment:1 Changed 14 years ago by MaxIschenko <ischenko@…>

  • Cc ischenko@… added

I'm interested in this functionality as well. Let me know if you need help on this.

Changed 13 years ago by ischenko@…

Proposed module that implements this functionality

comment:2 Changed 13 years ago by kevin

  • Summary changed from Add tg-admin commands for i18n to [PATCH] Add tg-admin commands for i18n

Changed 13 years ago by ischenko@…

patch to catalog.py to fix msgid quoting and file backup bug

Changed 13 years ago by ischenko@…

new version with support for Kid templates

comment:3 Changed 13 years ago by ischenko@…

  • Owner changed from elvelind@… to anonymous
  • Status changed from new to assigned
  • Type changed from defect to enhancement

I uploaded new version which supports message extraction from Kid templates as well as plain Python files. I also will try to write some docs on wiki (Internationalization page) but my English is not great.

Kevin, I'd really like to see this in 0.9 release. Please tell me what else do you need from me to make this happen.

Max.

Changed 13 years ago by ischenko@…

registers i18n plugin within tg-admin

comment:4 Changed 13 years ago by kevin

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

committed in [527]. Thanks, and sorry for the delay!

Note: See TracTickets for help on using tickets.