PDA

View Full Version : Russian (Cyrillic) Language files


UweB
21st of November 2006 (Tue), 02:54
The Russian (Cyrillc) Language files are finished pending some minor corrections and they will be published here to download and integrate.

If you're interested have a look here: http://www.borck.ch/gallery and switch to Russian. If you see any errors pls say so... :-)

To make russian work in EE2 it was neccessary to change the (iso-8859-1) in the language file to (utf-8). My question is what the consequences would be if instead of the standard iso setting in the language files all of them would be (utf-8).

I beleive that is why in EE2 with Russian you can see some funny ? marks, usually near the dropdown fields and in the day/date display when the utf-8 and the iso-8859-1 setting are mixed in the browser.

UweB
21st of November 2006 (Tue), 02:56
utf-eight = utf-8

Pekka
21st of November 2006 (Tue), 07:34
Try

$s_charset = "koi8-r";
setlocale (LC_ALL , "russian ru");

(replace "russian ru" with what you have there now).

UweB
21st of November 2006 (Tue), 13:22
Hello Pekka

I already tried koi8-r with the default (LC_TIME setting. What i get then is a white page with chinese characters...

With the (LC_ALL setting and koi8-r , cyrillic is translated to strange geometrical characters but the english parts are still readable.

With (LC_ALL and utf-8 the translated header and some other symbols look funny too.

With (LC_TIME and utf-8 i have now the least distortion... little squares with questionmarks in them...

For what is the setting (LC_TIME, ALL etc. ?

wkitty42
21st of November 2006 (Tue), 19:53
i can't help but to wonder if you have all the language sets installed in your environment... i went ahead, some time back, and installed language sets for languages that i can't even read... but at least i can now see the (supposedly) proper asian script characters ;)

i'm not sure how to ask, but what are your settings for local language, character set, browser language and characters, etc... mmmmmmm... what OS are you running, too... even if i can't help, directly, my questions may help to lead to an answer...

UweB
22nd of November 2006 (Wed), 04:08
I think it is nice for prospective foreign visitors to be able to change the language :-) I personally know of german, english, finnish and russian visitors... and in todays globalised environment one never knows who will knock on your door... ;-)

I thought about what you wrote... Perhaps it is the fonts i have installed but i thought that utf is universal... but then again perhaps not yet. Perhaps it is the code setting when the language files are finally safed to disk. I tried ANSI, Unicode, Unicode big endian but only utf worked. Since the russian files are safed in utf perhaps it is neccessary to safe all other language files in this code format too? They are now saved in ANSI.

As to why unicode does not work when saving remains a mystery to me. I thought this is the future... In another thread about MySQL and languages i read that for Cyrillic/Latin Mix it is best to work with a utf DB.

Really the Russian looks OK so far except for this funny symbols that appear here and there.

tmweb
23rd of November 2006 (Thu), 02:01
The Russian (Cyrillc) Language files are finished pending some minor corrections and they will be published here to download and integrate.

If you're interested have a look here: http://www.borck.ch/gallery and switch to Russian. If you see any errors pls say so... :-)

To make russian work in EE2 it was neccessary to change the (iso-8859-1) in the language file to (utf-8). My question is what the consequences would be if instead of the standard iso setting in the language files all of them would be (utf-8).

I beleive that is why in EE2 with Russian you can see some funny ? marks, usually near the dropdown fields and in the day/date display when the utf-8 and the iso-8859-1 setting are mixed in the browser.

Russian looks nice on your website, I want to have it. How do I get it?
Thank you.

Pekka
23rd of November 2006 (Thu), 07:51
Really the Russian looks OK so far except for this funny symbols that appear here and there.

What do you have in translation key

$translated["show_photos_from_category"]

is there anything odd in the end of it, TAB, space?

UweB
23rd of November 2006 (Thu), 15:29
Hi Pekka, the line looks like this:
$translated["show_photos_from_category"] = "Категории";

I do not know where else to look as to why this question mark appears here and there.

UweB
23rd of November 2006 (Thu), 15:36
Despite this little problem with the question marks we, my wife and myself, decided to publish the russian language files. There should be no gramatical errors... Perhaps the issue with the question mark will be found quicker if others can have a look at this files. Hopefully it is something small and can be found easily...

They can be downloaded from here:

http://www.borck.ch/rus_lang_EE2.ZIP

My wife as the translator and i as an EE2 user/tester will be glad for any feedback/comments !

wkitty42
26th of November 2006 (Sun), 21:04
FWIW: even though i can't read a lick of russian, i dropped by your site and took a looksee... i switched to russian langage and looked over many pages but didn't see anything that i would think to be wrong or missing russian characters...

the only "problem" i noted was that everytime i clicked on "index", i was switched back to english and had to reselect russian... once selected, everything viewed was in russian...

looks like something that pekka might need to set in a cookie or something... i don't care what my default language is, when i select another one, that's what i want to see and no automatic switching back to english ;)

[update]

actually, i am slightly incorrect in my above... when i look at the taskbar, i see the title is all questionmarks... when i switch to that window, the title there is also all questionmarks... this is with FF 1.0.5.8...

in a quick view thru the settings of FF, i see that it recognizes 9 different cryllic encodings... that window, which i still have open, is currently viewing, automatically, in UTF-8... i switched to Ukrainian with no visible effects... then i tried "Cryllic (Windows 1251)" and that wasn't very pretty to look at... CP-866 wasn't any better... in fact, no other cryllic settings made it any better... if anything, they got worse... in firefox, these settings are accessed under the "View" menu and then "Character Encodings"...

and none of these helped the title of the window... no cryllic characters were seen by me for what FF puts in the top title bar of the browser window...

"INDEX" (very top left of your top line menu) remained as "INDEX" thru all of these changes, too...

dunno if this helps or not but there it is for what it is worth ;)

UweB
27th of November 2006 (Mon), 02:31
Hi ! thank's for testing :-)
Ah yes, the INDEX does not change... something for the next version of the language files (if it is there at all).... i need to check where this is. I had the same effects while trying out the encodings in my browser...

The question marks in the task bar and window title are probably because there is no cyrillic caracter set in the OS installed... and perhaps because the browser is not capable of doing this (one old version i used was like this). I use 3 languages in my OS, English, German, Russian. Once they are installed almost everything that is programmed for this usually switches automatically except when you want to type...