Issue 25 in hntool: Add suport for translations

1 view
Skip to first unread message

hnt...@googlecode.com

unread,
Apr 6, 2010, 8:16:10 AM4/6/10
to hnt...@googlegroups.com
Status: Accepted
Owner: hugodoria
Labels: Type-Enhancement Priority-Low Milestone-Release0.2

New issue 25 by hugodoria: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

HnTool should support translation. We need to make a i18n module.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

hnt...@googlecode.com

unread,
Apr 24, 2010, 9:56:41 PM4/24/10
to hnt...@googlegroups.com

Comment #1 on issue 25 by mauricio.vieira: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

pygettext -a -D -p po -o HnTool.pot $(find . -type f -name "*.py")

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "hntool" group.
To post to this group, send email to hnt...@googlegroups.com.
To unsubscribe from this group, send email to hntool+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hntool?hl=en.

hnt...@googlecode.com

unread,
Apr 24, 2010, 10:26:57 PM4/24/10
to hnt...@googlegroups.com

Comment #2 on issue 25 by mauricio.vieira: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

Partial diff follows.



Attachments:
i18n.diff 19.9 KB

hnt...@googlecode.com

unread,
Apr 25, 2010, 11:01:53 AM4/25/10
to hnt...@googlegroups.com

Comment #3 on issue 25 by hugodoria: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

UoW! Awesome Patch, Mauricio. Thanks for your work.

hnt...@googlecode.com

unread,
Apr 25, 2010, 11:09:57 AM4/25/10
to hnt...@googlegroups.com

Comment #4 on issue 25 by hugodoria: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

Partial patch applied!

hnt...@googlecode.com

unread,
Jan 31, 2011, 5:55:02 AM1/31/11
to hnt...@googlegroups.com

Comment #5 on issue 25 by mauricio...@gmail.com: Add suport for translations
http://code.google.com/p/hntool/issues/detail?id=25

A better patch follows. I translated some strings to brazilian portuguese
and it worked on my debian box. I know some fixing is needed at setup.py to
install the potfiles to the proper directories, but I didn't. Also, some
automated support to regenerate .po for all desired languages.

Attachments:
i18n_support.diff 18.0 KB

Reply all
Reply to author
Forward
0 new messages