Opps, missed a step and gave innacurate commands (as always ;)

On Jun 10, 2007, at 5:17 PM, Alberto Valverde wrote:

> (...)
> 1) tg-admin quickstart
> 2) wrote a sample and dumb helloworld.js at ${package}/static/
> javascript and placed a button at welcome.kid to trigger the function.
> 3) registered that directory with widgets.register_statict_directory
> 4) set  tg.include_widget = ["turbogears.jsi18nwidget"]  in app.cfg
> 5) tg-admin collect

5) tg-admin i18n collect

(BTW: the toolbox didn't list js files as options of files to scan  
for strings so I presume the collect step couldn't be done here... i  
suppose this has an easy fix but not sure...)

> 6) generated po in the toolbox

> 7) tg-admin compile

7) tg-admin i18n compile

(toolbox can do this)

7.5) tg-admin i18n create_js_messages

(could toolbox do this too?)

> 8) start app and enjoy

(could toolbox write the app, given a written spec in english  
(localizable), deploy and start it up automatically too? ;)


Alberto

--~--~---------~--~----~------------~-------~--~----~
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