Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.1.0
-
None
-
GNU/Linux
LANG=sk_SK.utf8
LANGUAGE=
LC_CTYPE="sk_SK.utf8"
LC_NUMERIC="sk_SK.utf8"
LC_TIME="sk_SK.utf8"
LC_COLLATE="sk_SK.utf8"
LC_MONETARY="sk_SK.utf8"
LC_MESSAGES="sk_SK.utf8"
LC_PAPER="sk_SK.utf8"
LC_NAME="sk_SK.utf8"
LC_ADDRESS="sk_SK.utf8"
LC_TELEPHONE="sk_SK.utf8"
LC_MEASUREMENT="sk_SK.utf8"
LC_IDENTIFICATION="sk_SK.utf8"
LC_ALL=GNU/Linux LANG=sk_SK.utf8 LANGUAGE= LC_CTYPE="sk_SK.utf8" LC_NUMERIC="sk_SK.utf8" LC_TIME="sk_SK.utf8" LC_COLLATE="sk_SK.utf8" LC_MONETARY="sk_SK.utf8" LC_MESSAGES="sk_SK.utf8" LC_PAPER="sk_SK.utf8" LC_NAME="sk_SK.utf8" LC_ADDRESS="sk_SK.utf8" LC_TELEPHONE="sk_SK.utf8" LC_MEASUREMENT="sk_SK.utf8" LC_IDENTIFICATION="sk_SK.utf8" LC_ALL=
Description
According to the source code, the 'compose' plugin reads "compose.dir" to get locale - compose mappings. On my system the file contains this line for my language (Slovak):
en_US.UTF-8/Compose sk_SK.UTF-8
As you can see, my locale is sk_SK.utf8 (without the dash), so it doesn't find the compose file and it's not possible to use dead keys at all.
I noticed there's a file called "locale.alias" in the same directory as "compose.dir". I wrote a patch that reads this file to resolve aliases, but I'm not sure if this is the right solution.