This commit adds support for the Italian locale ('it_IT.UTF-8') to the locale generation task. This expands the application's localization capabilities to cater to Italian-speaking users. The update ensures proper localization for Italian content.
26 lines
706 B
YAML
26 lines
706 B
YAML
---
|
|
- name: Ensure the proper locales are present and generated
|
|
community.general.locale_gen:
|
|
name:
|
|
- "it_IT.UTF-8"
|
|
- "en_US.UTF-8"
|
|
- "en_GB.UTF-8"
|
|
state: present
|
|
|
|
- name: Set default locale to en_US.UTF-8
|
|
ansible.builtin.debconf:
|
|
name: locales
|
|
question: locales/default_environment_locale
|
|
value: en_US.UTF-8
|
|
vtype: select
|
|
notify: Reconfigure locales
|
|
|
|
# Not needed when using community.general.locale_gen
|
|
# - name: Generate required locales
|
|
# ansible.builtin.debconf:
|
|
# name: locales
|
|
# question: locales/locales_to_be_generated
|
|
# value: en_US.UTF-8 UTF-8, nl_NL.UTF-8 UTF-8, en_GB.UTF-8 UTF-8
|
|
# vtype: multiselect
|
|
# notify: Reconfigure locales
|