#1999: [patch] i18n fix for FormEncode & ToscaWidgets
-----------------------------+----------------------------------------------
 Reporter:  TimurIzhbulatov  |       Owner:  faide                              
 
     Type:  defect           |      Status:  new                                
 
 Priority:  normal           |   Milestone:  1.9.7a5                            
 
Component:  TurboGears       |     Version:  trunk                              
 
 Severity:  normal           |    Keywords:  i18n toscawidgets formencode 
gettext
-----------------------------+----------------------------------------------
 This patch sets a translator for ToscaWidgets middleware and adds a
 request specific translator for standard FormEncode messages.

 For the later purpose it uses an approach similar to the one used in
 Pylons but doesn't rely on formencode.api._stdtrans module global which is
 a gettext.NullTranslations instance created at module import time.
 Instead, a request specific translation object is created and saved in
 tmpl_context.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/1999>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to