Bug 6047

Summary: new spanish variant (catalan)
Product: xkeyboard-config Reporter: Daniel Stone <daniel>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: jordi
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: add 'ca' variant to es

Description Daniel Stone 2006-02-26 23:52:31 UTC
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
translation/localisation team.
Comment 1 Daniel Stone 2006-02-26 23:53:05 UTC
Created attachment 4757 [details] [review]
add 'ca' variant to es
Comment 2 Sergey V. Udaltsov 2006-02-27 03:11:52 UTC
don't you mind if I change it to 'cat' - just to avoid confusion with Canada ?
Comment 3 Daniel Stone 2006-02-28 00:53:52 UTC
sure, cat is fine.
Comment 4 Jordi Mallach 2006-03-02 03:07:41 UTC
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!
Comment 5 Daniel Stone 2006-03-02 03:10:40 UTC
(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
free-form.

> 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.
Comment 6 Jordi Mallach 2006-03-02 03:49:21 UTC
Ok. If it's freeform, let's go with cat, as it doesn't stick to a territory.
Comment 7 Sergey V. Udaltsov 2006-03-02 05:23:40 UTC
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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.