glibc has these locales for Serbian in Latin script: mfabian@ari:~ $ locale -a | grep ^sr.*latin sr_RS.utf8@latin sr_RS@latin mfabian@ari:~ $ LC_ALL=sr_RS.UTF-8@latin locale charmap UTF-8 mfabian@ari:~ $ LC_ALL=sr_RS@latin locale charmap UTF-8 mfabian@ari:~ $ Both UTF-8. But they are not supported by Xlib: mfabian@ari:~ $ LANG=sr_RS@latin xterm Warning: locale not supported by Xlib, locale set to C mfabian@ari:~ $ LANG=sr_RS@latin xmms Gdk-WARNING **: locale not supported by Xlib, locale set to C Message: device: default mfabian@ari:~ $ LANG=sr_RS.UTF-8@latin xterm Warning: locale not supported by Xlib, locale set to C mfabian@ari:~ $ LANG=sr_RS.UTF-8@latin xmms Gdk-WARNING **: locale not supported by Xlib, locale set to C Message: device: default mfabian@ari:~ $ That causes the problem that the Serbian translations in Latin script are not found when xmms is started like LANG=sr_RS.UTF-8@latin xmms although such translations exist: mfabian@ari:~ $ rpm -ql xmms | grep sr@latin /usr/share/locale/sr@latin/LC_MESSAGES/xmms.mo mfabian@ari:~ $ (They were in a wrong sr@Latn directory but in xmms-1.2.11-20.20071117cvs.fc20.x86_64 they are in the correct directory now). I will attach a patch for libX11 to fix this ...
Created attachment 865038 [details] 0002-add-be_BY.UTF-8-latin-and-sr_RS.UTF-8-latin-to-local.patch Patch to fix the problem
Created attachment 865040 [details] 0001-fix-spelling-mistakes-in-ks_IN-and-sd_IN-devanagari-.patch Another patch to fix spelling mistakes in Indic devanagari locales. These locales exist with different (correct) spelling in glibc, if the glibc locales are used, it does not work because of the typos in the X11 locales.
I built libX11 rpm package for Fedora 20 to test this and it works.
I reported the be_BY.UTF-8 adn sr_RS.UTF-8 problem upstream as: https://bugs.freedesktop.org/show_bug.cgi?id=75220
And I reported the spelling mistake in the devanagari locales here: https://bugs.freedesktop.org/show_bug.cgi?id=75222
This problem still exists in Fedora-Live-Workstation-x86_64-22_Beta-3.iso
Mike's patch has been pushed upstream.
(In reply to James Cloos from comment #8) > Mike's patch has been pushed upstream. Ah, good, I see it in git master now! Thank you!
Oh, sorry, one hunk of my patch replaced one typo with another: --- a/nls/locale.alias.pre +++ b/nls/locale.alias.pre @@ -982,9 +982,9 @@ rw_RW.ISO-8859-1: rw_RW.ISO8859-1 rw_RW.utf8: rw_RW.UTF-8 sd: sd_IN.UTF-8 sd_IN.utf8: sd_IN.UTF-8 -sd@devanagari: sd_IN -sd_IN@devanagari: sd_IN -sd_IN: sd_IN +sd@devanagari: sd_INUTF-8@devanagari +sd_IN@devanagari: sd_INUTF-8@devanagari +sd_IN.utf8@devanagari: sd_INUTF-8@devanagari se_NO: se_NO.UTF-8 se_NO.utf8: se_NO.UTF-8 XCOMM sh was the old ISO code for Serbo-Croatian (now individual sr and hr). The “.” is missing, it should be “sd_IN.UTF-8@devanagari”. Sorry!
Created attachment 1016440 [details] 0001-Fix-spelling-mistake-introduced-by-748d47e69f5c12d85.patch Fix the spelling mistake I introduced.
I should have seen that when I reviewed it. ☹ The spelling patch is pushed as d3415d1f052530760b4617db45affcb984cfe35c.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The fix is not yet in Fedora 22.
The fix is not yet in rawhide: [mfabian@Fedora-Workstation-netinst-x86_6 locale]$ grep sd_IN locale.alias sd sd_IN.UTF-8 sd_IN.utf8 sd_IN.UTF-8 sd@devanagari sd_IN sd_IN@devanagari sd_IN sd_IN sd_IN sd: sd_IN.UTF-8 sd_IN.utf8: sd_IN.UTF-8 sd@devanagari: sd_IN sd_IN@devanagari: sd_IN sd_IN: sd_IN [mfabian@Fedora-Workstation-netinst-x86_6 locale]$ cat /etc/fedora-release Fedora release 25 (Rawhide) [mfabian@Fedora-Workstation-netinst-x86_6 locale]$
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
The fix is not yet in Fedora 24.