# HG changeset patch # User Thierry Florac # Date 1538552451 -7200 # Node ID f373e299873589de360d67a806cc6cc55e2c4086 # Parent bad5178f70350b5d319c882aaa1197c32b0e26ce Added locale settings diff -r bad5178f7035 -r f373e2998735 cookiecutter.json --- a/cookiecutter.json Mon Sep 24 10:54:46 2018 +0200 +++ b/cookiecutter.json Wed Oct 03 09:40:51 2018 +0200 @@ -19,6 +19,7 @@ "db_password": "", "zeo_realm": "", "blobs_dir": "$((INSTALL))/var/db/blobs", + "pyams_locale": "fr_FR.UTF-8", "use_postgresql": false, "use_oracle": false, "use_ldap": false, diff -r bad5178f7035 -r f373e2998735 {{cookiecutter.project_slug}}/etc/development.ini --- a/{{cookiecutter.project_slug}}/etc/development.ini Mon Sep 24 10:54:46 2018 +0200 +++ b/{{cookiecutter.project_slug}}/etc/development.ini Wed Oct 03 09:40:51 2018 +0200 @@ -140,6 +140,14 @@ ## Secure PyAMS authentication policy (requires HTTPS) pyams.authentication_policy.secure = False +## PyAMS locale settings +pyams.locale.lc_ctype = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_collate = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_ctime = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_monetary = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_numeric = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_all = {{ cookiecutter.pyams_locale }} + ## PyAMS mailer pyams_mail.mailers = {{ cookiecutter.smtp_server_name }}. {{ cookiecutter.smtp_server_name }}.name = {{ cookiecutter.smtp_server_name }} diff -r bad5178f7035 -r f373e2998735 {{cookiecutter.project_slug}}/etc/production.ini --- a/{{cookiecutter.project_slug}}/etc/production.ini Mon Sep 24 10:54:46 2018 +0200 +++ b/{{cookiecutter.project_slug}}/etc/production.ini Wed Oct 03 09:40:51 2018 +0200 @@ -135,6 +135,14 @@ ## Secure PyAMS authentication policy (requires HTTPS) pyams.authentication_policy.secure = True +## PyAMS locale settings +pyams.locale.lc_ctype = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_collate = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_ctime = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_monetary = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_numeric = {{ cookiecutter.pyams_locale }} +pyams.locale.lc_all = {{ cookiecutter.pyams_locale }} + ## PyAMS mailer pyams_mail.mailers = {{ cookiecutter.smtp_server_name }}. {{ cookiecutter.smtp_server_name }}.name = {{ cookiecutter.smtp_server_name }}