mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-24 12:49:03 +00:00
locale_gen: support locales not yet listed in /etc/locale.gen (#11824)
* locale_gen: support locales not yet listed in /etc/locale.gen On systems like Gentoo where /etc/locale.gen starts with only a handful of commented examples, set_locale_glibc() now appends missing locale entries sourced from /usr/share/i18n/SUPPORTED instead of silently doing nothing. Also extracts the shared locale-entry regex into a module-level constant RE_LOCALE_ENTRY. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * locale_gen: add changelog fragment for issue 2399 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1b0b8d5cc1
commit
39f4cda6b5
2 changed files with 33 additions and 7 deletions
4
changelogs/fragments/11824-locale-gen-gentoo.yml
Normal file
4
changelogs/fragments/11824-locale-gen-gentoo.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
bugfixes:
|
||||
- "locale_gen - add missing locale entries to ``/etc/locale.gen`` when not already present
|
||||
(https://github.com/ansible-collections/community.general/issues/2399,
|
||||
https://github.com/ansible-collections/community.general/pull/11824)."
|
||||
Loading…
Add table
Add a link
Reference in a new issue