From: Danilo Šegan Date: 2005-09-05 Archive: http://mail.gnome.org/archives/gnome-doc-devel-list/2005-September/msg00000.html ================================================================================ I've finally started on Serbian localisation of g-d-u stylesheets. (Yeah, I know you've asked for translators to really get on with this way earlier, we are now in hard-code freeze and everything, but lets improve l10n.xml even more now :) And here are the things I may need. First off, any list numbering can take also use Serbian alphabet ordering: А Б В Г Д Ђ Е Ж З И Ј К Л Љ М Н Њ О П Р С Т Ћ У Ф Х Ц Ч Џ Ш а б в г д ђ е ж з и ј к л љ м н њ о п р с т ћ у ф х ц ч џ ш This is unusable for anything other than Serbian, since all other Cyrillic languages miss at least some of these letters, and commonly have some others. This is probably not easy to add because I even if XSL has support for it, libxslt currently doesn't implement it, so you can't simply do ... but you'd have to implement something like the following (Euclidean? :) algorithm: (this one is for lowercase, and seems to work in my standalone tests :). Is it ok to add something like this and introduce a new "format" "sr-lower" and "sr-upper" that will call-template these ones as appropriate? We should probably even generalise this to any alphabet anyway (i.e. instead of hard-coded substring alphabet, pass that up too :). Next, I wonder if we could use different roles for things like declensions of labels ( stuff), eg: - "on figure 5" is "na *slici* 5" (locative) - "from figure 5" is "sa *slike* 5" (genitive) - "we blame figure 5" is "krivimo *sliku* 5" (accusative) - "figure 5" is "*slika* 5" (nominative) ... (we have three more, like "with figure 5" [instrumental], "hey, figure 5, talk to me" [vocative] and "figure 5 misses something" [dative], but I don't want to bore you with examples; oh, I already did :) Now, imagine a following paragraph: On , if you take a good look, you'll see something. If we remove , you'll end up seeing nothing. would have to be translated to something like the following in Serbian: On , if you take a good look, you'll see something. If we remove , you'll end up seeing nothing. and it should be rendered like:

On slici 5, if you take a good look, you'll see something. If we remove sliku 5, you'll end up seeing nothing.

Note the "slici" and "sliku" renderings. Do l10n stylesheets support that already (I didn't look :), or do we need to work on that as well?