W3C home > Mailing lists > Public > www-validator-css@w3.org > April 2009

Re: Russian and other translations

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 22 Apr 2009 21:02:20 +0300
Message-ID: <14E22C10762C4D7098289130C95A6B4C@JukanPC>
To: <www-validator-css@w3.org>
Andreas Prilop wrote:

>> From  http://jigsaw.w3.org/css-validator/style/base.css :
>
>    div.options select { width: 12em; }
>
> This is not enough for Russian and perhaps for other languages, too.

As far as I can see,
a) this problem is largely caused by the Russian translator's idea of using 
both media type identifiers and Russian explanations in the dropdown for 
media (though the dropdown for profil has an overflow problem, too)
b) there is currently no comparable problem except for Japanese, where the 
first entry for profile is somewhat truncated.

However,
1) setting a width for a select is bad practice, setting a bad example, in a 
context where the length of options may vary (a lot), depending on language
2) using the em unit is of course better than e.g. the px unit, but still a 
problem; here the specific problem is, to a great extent, caused by the fact 
that the average width of Cyrillic letters is larger than that of Latin 
letters, since the Cyrillic alphabet has no narrow letters like "i", "l", 
and "t".

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Wednesday, 22 April 2009 18:03:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:24 GMT