Skip to content

Commit

Permalink
Add translations variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbermattenm committed Sep 27, 2013
1 parent 3ac1b55 commit b5a090f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ serverbase = /${vars:instanceid}
egg = las_extractor
project = las_extractor

# default language (currently Fr or De)
default_language = Fr
interpreter = py

# default language (currently only fr)
default_language = fr

# database user
dbuser = overwriteme
Expand All @@ -56,7 +58,7 @@ dependent-scripts = true
eggs =
pyramid
${vars:egg}
interpreter = py
interpreter = ${vars:interpreter}

[modwsgi]
recipe = collective.recipe.modwsgi
Expand Down
3 changes: 2 additions & 1 deletion development.ini.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.default_locale_name = ${vars:default_language}
available_languages = fr
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
Expand Down
3 changes: 2 additions & 1 deletion production.ini.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.default_locale_name = ${vars:default_language}
available_languages = fr
pyramid.includes =
pyramid_tm

Expand Down

0 comments on commit b5a090f

Please sign in to comment.