On Mon, May 30, 2011 at 12:45 PM, Geo <[email protected]> wrote: > 2. changed in the the mytemplate.pt: > <h2 i18n:translate="search-document">Search documentation</h2> > ... > <p class="app-welcome" i18n:translate=""> > Welcome to <span class="app-name" i18n:name='app-name'>$ > {project}</span>, an application generated by<br/> > the Pyramid web application development framework. > </p>
Make sure you specify the i18n namespace and your application domain in the template. Something like: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="mypyramidapp"> Hope that helps you. Douglas -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
