Translation of TW2 messages

32 views
Skip to first unread message

Christoph Zwerschke

unread,
Oct 1, 2012, 9:45:24 PM10/1/12
to TurboGears Trunk
After replacing FormEncode validators with TW2 validators in a TG2 app I
found that the validator messages were not translated any more. I'm
proposing the patch at
https://github.com/toscawidgets/tw2.core/issues/55 to solve this
problem, please let me know what you think. Maybe we could also use the
same method for FormEncode, I find the currently used method of
translating FormEncode messages too intricate.

-- Christoph

Michael Pedersen

unread,
Oct 1, 2012, 11:39:23 PM10/1/12
to turbogea...@googlegroups.com
That looks like a fairly simple way of dealing with the issue. If they
go for the change to tw2, I'm all for making our side and getting it
working.
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears-trunk?hl=en.
>



--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Alessandro Molina

unread,
Oct 3, 2012, 5:25:04 AM10/3/12
to turbogea...@googlegroups.com
That's a great work, I ended up having the same issue but I solved it
by handling the translation inside my own application, your solution
is much more convenient.

Christoph Zwerschke

unread,
Oct 3, 2012, 3:12:15 PM10/3/12
to turbogea...@googlegroups.com
Am 03.10.2012 11:25, schrieb Alessandro Molina:
> That's a great work, I ended up having the same issue but I solved it
> by handling the translation inside my own application, your solution
> is much more convenient.
Ok, so I sent a pull request to get in TW2. Maybe you can then add the
Italian translations.

-- Christoph
Reply all
Reply to author
Forward
0 new messages