#1461: [PATCH] Genshi and i18n
---------------------------------+------------------------------------------
Reporter: dbrattli | Owner: faide
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.1 beta 2
Component: TurboGears | Version: 1.0.3
Severity: normal | Resolution:
Keywords: needs documentation |
---------------------------------+------------------------------------------
Comment (by faide):
Well, in fact along the road of i18n refactoring I stumbled upon the
sogettext system and tried to unravel its mysteries... I decided the
create an sagettext to be the pendant of the so one. But I'm still a bit
puzzled on the way to actually use the thingy... At the moment if you try
to activate sogettext or sagettext you won't be able to enter the toolbox
because it will yell at you telling that the tables have not been created.
I am trying to figure out a way to easily create the tables if you
activate the option in the config file... and then a way to populate the
sql tables with actual gettext data.
The second important point is that I want to review how the compiled
gettext resources are packages and see how this should be documented for a
deployment behind mod_wsgi.
Obviously if we bundle the gettext resources inside the egg we'll be
mod_wsgi ready and "finished" applications will "just work". BUT we have
users out there that deploy TG behind mod_wsgi and then mount the toolbox
from their controllers and use the provided tools.
In this use case we have an issue because we need to make sure Apache has
read/write access to the directory where we want to manipulate our mo/po
files. This goes against the idea of bundling a finished application as a
standalone egg and deploying that to production.
--
Ticket URL: <http://trac.turbogears.org/ticket/1461#comment:21>
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
-~----------~----~----~----~------~----~------~--~---