--- 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,
--- 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 }}
--- 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 }}