start internationalisation
* add babel stuff to setup.py * translate existing templates (addresses #11) * translate existing controllers git-svn-id: file:///var/www/wwwusers/usr01/svn/pyalchemybiz/trunk@9 389c73d4-bf09-4d3d-a15e-f94a37d0667a
This commit is contained in:
parent
b53e8c48df
commit
1bbcc8e559
9 changed files with 112 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
<%inherit file="/base.mako" />
|
||||
|
||||
<h1>Hallo</h1>
|
||||
<h1>${_('Hello')}</h1>
|
||||
|
||||
<ul id="customers">
|
||||
% for customer in c.customers:
|
||||
<li>${h.escape_once(customer)} [${h.link_to('edit', h.url_for(id=customer.id, action="edit"))}]</li>
|
||||
<li>${customer | h} [${h.link_to(_('edit'), h.url_for(id=customer.id, action="edit"))}]</li>
|
||||
% endfor
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue