/me thinks about turning this into an application to translate
potfiles, not
just TG potfiles, but any potfile... It would help a lot with other
translation projects, specially the "google" start.
--
Jorge Godoy <[EMAIL PROTECTED]>
Easy, create a new project and add this to your controller:
from turbogears.toolbox.admi18n import Internationalization
class Root(controllers.RootController):
admi18n = Internationalization(currentProject=<path to the
project directory you want to manage>)
@turbogears.expose(template="langtest.templates.welcome")
def index(self):
return dict(now=dateTime.now())
Now you can run the app from http://localhost:8080/admi18n in the
context of the project you pass to
the tool at instantiation time.
-Ronald
________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog