[atomic-wg] Issue #178 `Fix locale support in base image.`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



walters added a new comment to an issue you are following:
``
We don't document this well, but it is possible to add back in all locales.

The basic step is:

```
rm /etc/rpm/macros.image-language-conf
yum reinstall glibc-all-langpacks
```

However, that only undoes the configuration, any *existing* RPMs will still have their locales stripped.  For example, the `coreutils-common` RPM has the translations for coreutils utilities like `touch`:

```
$ env LANG=fr_FR.UTF-8 touch /foo/bar
touch: cannot touch '/foo/bar': No such file or directory
$ yum reinstall coreutils-common
$ env LANG=fr_FR.UTF-8 touch /foo/bar
touch: impossible de faire un touch '/foo/bar': No such file or directory
$
```

Systemd's `localectl' is almost entirely irrelevant here - it can set the *default* locale for login shells, but it has no idea about the RPM configuration or how Fedora implements `glibc-all-locales` etc.

``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/178
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux