| Summary: | enable localization of messages in terminal during login | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | David Kaspar // Dee'Kej <deekej> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | initscripts-maint-list, jruemker, jsynacek, khadri.narayana, pandrade, qe-baseos-daemons, systemd-maint-list, tmraz |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1227935 | Environment: | |
| Last Closed: | 2018-12-10 12:08:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1298243, 1420851 | ||
|
Description
David Kaspar // Dee'Kej
2016-10-29 14:36:33 UTC
We have a custom PAM module and used few strings which would be shown to user in console. We are looking for localising these strings. So in console strings would be shown in the locale language. Any updates? No updates so far, this bug is not very high in our priority list. (In reply to khadri.narayana from comment #2) > We have a custom PAM module and used few strings which would be shown to > user in console. You have to use gettext() in your implementation. The major problem is summarized by Karel Zak in the original bug report. We unset environment variables regarding i18n settings in the getty unit file: # grep Environment /usr/lib/systemd/system/getty@.service Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= If you want getty and login to use those settings, create a drop-in service and remove the line above. |