| Summary: | setlocale: LC_COLLATE: cannot change locale (en_BE.UTF-8) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Chris Denice <eatdirt> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, marja11, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | locales-2.22-4.mga6.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | re-enable en_BE | ||
Assigning to all packagers collectively, since there is no maintainer for this package. And CC'ing Martin, since he fixed a similar issue before CC:
(none) =>
mageia, marja11 After a bit of investigation: 1) The locale identifier consists of two lower case letters identifying a language and two upper case letters identifying a country. Just to confuse you, different two-letter codes are used for each, so "be" identifies the Belarussian language, but "BE" identifies the country Belgium. 2) Each locales package covers all the countries associated with one language. So locales-be is for the Belarussian language. If you want your language to be English and your country to be Belgium, you should just need the locales-en package to be installed. 3) Belgium has been removed from the countries supported in the locales-en package. This doesn't appear to be that recent - the change log entry is * Sun Aug 16 2015 tv <tv> 2.22-0.6.mga6 + Revision: 865093 - bump release - ignore en_BE since it'is disabled An user could select any language he fancies + selecting any location he lives. All combinations should be allowed. English people can actually live in Belgium, even though English is not an official language :) I have not done more than that in drakconf, selecting my language and picking up the country I live. So if this triggers a LOCALE error, then something is still bugged in the way localization are set. cheers. (In reply to Martin Whitaker from comment #2) > After a bit of investigation: > > 1) The locale identifier consists of two lower case letters identifying a > language and two upper case letters identifying a country. Just to confuse > you, different two-letter codes are used for each, so "be" identifies the > Belarussian language, but "BE" identifies the country Belgium. > > 2) Each locales package covers all the countries associated with one > language. So locales-be is for the Belarussian language. If you want your > language to be English and your country to be Belgium, you should just need > the locales-en package to be installed. > > 3) Belgium has been removed from the countries supported in the locales-en > package. This doesn't appear to be that recent - the change log entry is > > * Sun Aug 16 2015 tv <tv> 2.22-0.6.mga6 > + Revision: 865093 > - bump release > - ignore en_BE since it'is disabled Thanks, Martin, re-assigning to tv :-) Assignee:
pkg-bugs =>
thierry.vignaud (In reply to Chris Denice from comment #3) > An user could select any language he fancies + selecting any location he > lives. All combinations should be allowed. > > English people can actually live in Belgium, even though English is not an > official language :) I have not done more than that in drakconf, selecting > my language and picking up the country I live. So if this triggers a LOCALE > error, then something is still bugged in the way localization are set. > > cheers. In my English only installs i've never seen "en_NL", only "en_GB" and I don't have your problem, while my timezone etc. are all set to Amsterdam/nl. The problem might be that it is still possible for you to set "en_BE". Btw, how/when did you start this cauldron? If it dates from a recent traditional install, then it is probably useful to attach /root/drakx/report.bug.xz Err... That was a build fix. I only ajusted the file list in order to prevent: "error: File not found: ...usr/share/locale/en_BE* If we really want en_BE, we've to uncomment the block around liens 300-310 I don't know why Thomas disabled en_BE when updating to 2.22 Assignee:
thierry.vignaud =>
tmb Created attachment 7890 [details]
re-enable en_BE
This is as simple as that (tested through a local build).
I can push a fixed locales if tmb has no time for that.CC:
(none) =>
thierry.vignaud (In reply to Thierry Vignaud from comment #7) > Err... That was a build fix. > I only ajusted the file list in order to prevent: "error: File not found: > ...usr/share/locale/en_BE* > > If we really want en_BE, we've to uncomment the block around liens 300-310 > I don't know why Thomas disabled en_BE when updating to 2.22 I do :) There were some locale generation problem when moving to 2.22, so I temporarily disabled it during tests... Unfortunately I forgot to re-enable it :/ (In reply to Thierry Vignaud from comment #8) > Created attachment 7890 [details] > re-enable en_BE > > This is as simple as that (tested through a local build). > I can push a fixed locales if tmb has no time for that. Thanks tv for fixing my mess :) A fixed locale is being build Status:
NEW =>
RESOLVED thanks guys :) (In reply to Chris Denice from comment #3) > An user could select any language he fancies + selecting any location he > lives. All combinations should be allowed. It may be worth noting that en_BE is a special case. All combinations of language and country are not supported - only combinations where there is a significant community. See http://userguide.icu-project.org/locale. I was quite surprised that en_BE was a valid combination. I guess it has to do with Brussels being the EU headquarters. Also note that your timezone setting is independent of your locale setting. |
Description of problem: In a recent update on Cauldron, my locales are not longer found: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_BE.UTF-8:en_US:en", LC_ALL = (unset), LC_SOURCED = "1", LANG = "en_BE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C") although they seem to be installed: rpm -q locales-be locales-en locales-fr locales-be-2.22-4.mga6 locales-en-2.22-4.mga6 locales-fr-2.22-4.mga6 Using the control center, if I select language English(US), Belgium is not in the list of proposed country and I have to select "other country" to find it. After doing that, no additional locales are installed suggesting I got the right packages. If I play with the control center, and select language English, country France, then I do not get any error, but if I switch back with language English and country Belgium, the above error message shows up again. Reminiscent with: https://bugs.mageia.org/show_bug.cgi?id=3723 Cheers.