diff --git a/roles/desk-libreoffice/config/main.yml b/roles/desk-libreoffice/config/main.yml index 73e41fcf..cd623c4d 100644 --- a/roles/desk-libreoffice/config/main.yml +++ b/roles/desk-libreoffice/config/main.yml @@ -1 +1,3 @@ -flavor: "fresh" # Libre Office flavor, fresh for new, still for stable +flavor: "fresh" # Libre Office flavor, fresh for new, still for stable +languages: + - "{{ HOST_LL_CC | lower | replace('_', '-') }}" # Use system default \ No newline at end of file diff --git a/roles/desk-libreoffice/vars/main.yml b/roles/desk-libreoffice/vars/main.yml index 02ab6a77..807733e7 100644 --- a/roles/desk-libreoffice/vars/main.yml +++ b/roles/desk-libreoffice/vars/main.yml @@ -1 +1,2 @@ -application_id: "desk-libreoffice" \ No newline at end of file +application_id: "desk-libreoffice" +libreoffice_languages: "{{ applications | get_app_conf(application_id, 'languages', True ) }}" \ No newline at end of file diff --git a/roles/gen-hunspell/config/main.yml b/roles/gen-hunspell/config/main.yml new file mode 100644 index 00000000..cf95f9cb --- /dev/null +++ b/roles/gen-hunspell/config/main.yml @@ -0,0 +1,2 @@ +languages: + - "{{ HOST_LL_CC | lower }}" # Use system default \ No newline at end of file diff --git a/roles/gen-hunspell/vars/main.yml b/roles/gen-hunspell/vars/main.yml index 3897df00..36803be1 100644 --- a/roles/gen-hunspell/vars/main.yml +++ b/roles/gen-hunspell/vars/main.yml @@ -1 +1,2 @@ application_id: gen-hunspell +hunspell_languages: "{{ applications | get_app_conf(application_id, 'languages', True ) }}"