Locale files metadata

One of the first things I had to set up for the multilingual prototype
was a list of languages. I didn’t know where to get one in Firefox, so
I used the list of CSL locales, because it was readily available in
the environment.

There’s probably a better source of data in this particular case, but
the work of pulling it together in this form made me realize that the
locale files don’t include any human-readble string that can be
shunted to a UI. I ended up using the language codes themselves,
which works for the prototype, but looks kind of slap-dash on the
screen.

Would it make sense to add a slot for the name of the language, in its
native script, to the locales schema?

Frank

Would it make sense to add a slot for the name of the language, in its
native script, to the locales schema?

I would have thought that this information would be available from
standard libraries available to most users of CSL,
if not, I suspect a suitable dictionary is not too hard to find.

Regards,
Rob.

For sake of convenience, it might be a good idea to include it in the locale
files thermselves. We could either include the locale on the root cs:locale
element (where xml:lang already is located), or make use of a cs:info
element in the locales files (which we could use for other things as well,
see also
http://bitbucket.org/bdarcus/csl-schema/issue/25/locale-add-some-metadata).
I couldn’t find a standard way to encode this, but I’d like to provide both
the English and native locale names, e.g.:

RintzeOn Wed, Aug 25, 2010 at 7:57 AM, Robert Knight <@Robert_Knight>wrote: