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:
Jan Dittberner 2008-10-05 23:14:25 +00:00
parent b53e8c48df
commit 1bbcc8e559
9 changed files with 112 additions and 11 deletions

View file

@ -18,10 +18,10 @@ setup(
include_package_data=True,
test_suite='nose.collector',
package_data={'pyalchemybiz': ['i18n/*/LC_MESSAGES/*.mo']},
#message_extractors = {'pyalchemybiz': [
# ('**.py', 'python', None),
# ('templates/**.mako', 'mako', None),
# ('public/**', 'ignore', None)]},
message_extractors = {'pyalchemybiz': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('public/**', 'ignore', None)]},
entry_points="""
[paste.app_factory]
main = pyalchemybiz.config.middleware:make_app