On Thursday 09 July 2009 16:56:06 kerinin wrote:
> I have an app that acts fairly similarly to a CMS or blog - users
> enter content on one end and it's displayed as a web page on the
> other.  I want to provide i18n for the user content (rather than the
> templates) - is there a 'preferred' way to do this?
>
> In TG1 I had been grabbing the locale and then writing a custom
> property which returned one of a couple input fields based on the
> language.  I'm in the process of migrating to TG2 and I'm curious if
> there's a better way to do this?  Can Babel extract text from the
> database?

There is no difference there - babel is only concerned about the static 
content in templates and sources. For your app, just use the same pattern you 
used before.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to