Red Hat Bugzilla – Bug 79281
Many error messages during define new locale
Last modified: 2016-11-24 10:11:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1)
Description of problem:
Creating new locale (in my case cp1251) didn't fully complete
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. just run # localedef -c -i ru_RU -f CP-1251 ru_RU.CP1251
Actual Results: /usr/share/i18n/locales/ru_RU:72: LC_MESSAGES: unknown
character in field `yesexpr'
/usr/share/i18n/locales/ru_RU:73: LC_MESSAGES: unknown character in field `noexpr'
/usr/share/i18n/locales/ru_RU:78: LC_MONETARY: unknown character in field
/usr/share/i18n/locales/ru_RU:101: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/ru_RU:102: LC_TIME: unknown character in field `day'
[...skipped a lot of such messages...]
/usr/share/i18n/locales/ru_RU:137: LC_TIME: unknown character in field `abmon'
/usr/share/i18n/locales/ru_RU:138: LC_TIME: unknown character in field `abmon'
LC_MESSAGES: value for field `yesexpr' must not be an empty string
LC_MESSAGES: value for field `noexpr' must not be an empty string
Expected Results: none error mesages I think
Additional info: Latest glibc was installed on my system, system is up2dated
That's not how the character map is called in /usr/share/i18n/charmaps.
Replace CP-1251 with CP1251 and it should work just fine.