The attached patch adds a Catalan variant to the default Spanish layout, which
substitutes ŀ for lstroke and Ŀ for Lstroke (i.e. puts them on third and fourth
level of AC09, where l and L are). lstroke and Lstroke are never used in
Spanish or Catalan, apparently, whereas ŀ and Ŀ are used (e.g. in street names,
such as Paraŀlel). This patch was requested by the Catalan
Created attachment 4757 [details] [review]
add 'ca' variant to es
don't you mind if I change it to 'cat' - just to avoid confusion with Canada ?
sure, cat is fine.
Is there any convention on naming of XKB layout variants?
I see that in my 6.9 install, many of them follow country_COUNTRY naming rules,
but other seem to use arbitrary names.
If a country-like code is prefered, "ct" would be a sensible choice. While it
doesn't exist in the ISO, as Catalunya is not an independent nation, it's what
some campaigns have been trying to get for some time, for a Catalonia TLD.
cat, on the other hand, describes pretty well "Catalan" stuff, as it's the name
of the Catalan Cultural TLD (.cat).
Either is fine for me as I can't make my mind up too well on this. Your call. :)
Thanks for applying this!
(In reply to comment #4)
> Is there any convention on naming of XKB layout variants?
AFAICT, the convention is layout name is an ISO country code, variant name is
> I see that in my 6.9 install, many of them follow country_COUNTRY naming rules,
> but other seem to use arbitrary names.
Don't look at 6.9, it's dead. http://webcvs.freedesktop.org/xlibs/xkbdesc/ will
let you browse the current tree, or get xkb-data (I think?) out of experimental.
All the language_COUNTRY codes (e.g. en_US, ch_FR) are dead.
Ok. If it's freeform, let's go with cat, as it doesn't stick to a territory.
So it all in CVS now.
Daniel is right, there is no convention on the variant name. We are struggling
hard to make even layout names uniform - and I would be crazy to start the war
for the uniform variant names.