2010/5/16 Pascal Bleser
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?
Here is my test for counter.o.o in various languages: run LANG=[lang code]; firefox http://counter.opensuse.org to see if it redirect to the correct counter (translated) If not , try to reach http://counter.opensuse.org/11.3/medium.[lang code] test result: German(de) LANG=de_DE; firefox http://counter.opensuse.org OK Czech (cz) LANG=cs_CZ; firefox http://counter.opensuse.org OK Slovak (sk) LANG=sk_SK; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.sk fail firefox http://counter.opensuse.org/11.3/medium.sk.png OK French (fr) LANG=fr_FR; firefox http://counter.opensuse.org OK Danish (da) LANG=da_DK; firefox http://counter.opensuse.org OK Russian (ru) LANG=ru_RU; firefox http://counter.opensuse.org OK Polish(pl) LANG=pl_PL; firefox http://counter.opensuse.org OK Dutch (nl) LANG=nl_NL; firefox http://counter.opensuse.org OK Finnish (fi) LANG=fi_FI; firefox http://counter.opensuse.org OK Spanish (es) LANG=es_ES; firefox http://counter.opensuse.org OK Italian (it) LANG=it_IT; firefox http://counter.opensuse.org OK Greek (el) LANG=el_GR; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.el fail firefox http://counter.opensuse.org/11.3/medium.el.png OK Swedish (sv) LANG=sv_FI; firefox http://counter.opensuse.org OK LANG=sv_SE; firefox http://counter.opensuse.org OK Croatian (hr) LANG=hr_HR; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.hr fail firefox http://counter.opensuse.org/11.3/medium.hr.png OK Norwegian (nb) LANG=nb_NO; firefox http://counter.opensuse.org OK Portuguese (pt) LANG=pt_PT; firefox http://counter.opensuse.org OK Brazilian Portuguese (pt_BR) LANG=pt_BR; firefox http://counter.opensuse.org OK Hungarian (hu) LANG=hu_HU; firefox http://counter.opensuse.org OK Romanian (ro) LANG=ro_RO; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.ro fail firefox http://counter.opensuse.org/11.3/medium.ro.png OK Slovenian (sl) LANG=sl_SI; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.sl fail Simplified Chinese (zh_CN) LANG=zh_CN; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.cn fail Traditional Chinese (zh_TW) LANG=zh_TW; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.tw OK Indonesian (id) LANG=id_ID; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.id fail firefox http://counter.opensuse.org/11.3/medium.id.png OK Bulgarian (bg) LANG=bg_BG; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.bg OK Japanese (jp) LANG=ja_JP; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.jp OK Galician (gl) LANG=gl_ES; firefox http://counter.opensuse.org fail firefox http://counter.opensuse.org/11.3/medium.gl OK Walloon (wa)? Georgian (ge)?
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
/\\ http://opensuse.org -- I took the green pill _\_v FOSDEM::6+7 Feb 2010, Brussels, http://fosdem.org
-- To unsubscribe, e-mail: opensuse-marketing+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-marketing+help@opensuse.org