On Friday 14 May 2010 16:11:33 Ray Chen wrote:
2010/5/14 Satoru Matsumoto
: -------- Original Message -------- Subject: [opensuse-marketing] Countdown for 11.3 From: Pascal Bleser
To: opensuse-marketing@opensuse.org Date: Fri May 14 2010 04:49:55 GMT+0900 (JST) After jimmac handed me the new design for 11.3, I've updated counter.o.o accordingly:
Awesome! Thanks, jimmac and Pascal!
[snip]
Those are static PNG images, no Javascript nor anything special needed. Apache on the server side is picking the picture in the right language depending on the accepted languages sent by the browser of the person that goes on your blog/site/whatever which pulls the image from counter.o.o
Currently, it is translated in the following languages: English (en), German (de), Czech (cz), Slovak (sk), French (fr), Danish (da), Russian (ru), Polish (pl), Dutch (nl), Finnish (fi), Spanish (es), Italian (it), Greek (el), Swedish (sv), Croatian (hr), Norwegian (nb), Portuguese (pt), Brazilian Portuguese (pt_BR), Hungarian (hu), Romanian (ro), Slovenian (sl), Chinese (cn and tw), Indonesian (id), Bulgarian (bg), Japanese (jp), Walloon (wa), Galician (gl) and Georgian (ge).
However, our (Japanese) language code is not jp, but *ja* [1] -- jp is the country code for Japan [2]. ;-)
[1] http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes [2] http://en.wikipedia.org/wiki/ISO_3166-1
Could you please fix it ?
No, because it doesn't matter :) Apache is doing the redirect to that file based on the language code of the browser. And there, I believe we do have ja, or even ja_JP. Unless, of course, it currently doesn't redirect properly for Japanese.
Some bugs: 1. The counter can not detect zh_TW (traditional Chinese) my locale: LANG=zh_TW.UTF-8 LC_CTYPE="zh_TW.UTF-8" LC_NUMERIC="zh_TW.UTF-8" LC_TIME="zh_TW.UTF-8" LC_COLLATE="zh_TW.UTF-8" LC_MONETARY="zh_TW.UTF-8" LC_MESSAGES="zh_TW.UTF-8" LC_PAPER="zh_TW.UTF-8" LC_NAME="zh_TW.UTF-8" LC_ADDRESS="zh_TW.UTF-8" LC_TELEPHONE="zh_TW.UTF-8" LC_MEASUREMENT="zh_TW.UTF-8" LC_IDENTIFICATION="zh_TW.UTF-8" LC_ALL= the counter should redirect to http://counter.opensuse.org/11.3/small.tw but I only see english one
And what did you configure in your browser? How did you test?
2. When using zh_CN locale (Simplified Chinese) can't see Simplified Chinese
3. And another little bug The two words in http://counter.opensuse.org/11.3/small.tw (and other size) is not the same style the same for jp counter we better use same font style Use "Droid Sans Fallback" will look great! see picture shown in http://picasaweb.google.com/swyear/Other#5471127740866811410
Mmmmmyeah. The idea is to use Fifthleg as it is the official openSUSE font,
for the number of days and for the text. The issue is that Fifthleg doesn't
have the full Unicode range, and doesn't include Japanese, Chinese, Russian,
etc... Which is why I'm falling back to other fonts to do that (using Dejavu
Sans). I'll try to use Droid where I can't use Fifthleg.
cheers
--
-o) Pascal Bleser