Russian language (1 Viewer)

petrushinvs

New Member
October 5, 2006
3
0
47
Home Country
Russian Federation Russian Federation
Hello, guys!
I want to create russian interface for mediaportal. As I've seen, I need only translate strings.xml file and put it into folder named "Russian".
There is a few questions:
1. Can I use UTF-8 encoding? Will mediaportal and its plugins work correctly with this encoding?
2. Where should I put new strings.xml file to include it in stable tree?
 

vlesun

New Member
October 10, 2006
2
0
51
Home Country
Russian Federation Russian Federation
1. Да. string.xml должен начинаться с
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<characters>1279
</characters>
1279 - позволяет отображать русские буквы в именах файлов.
 

AlexPlas

Portal Pro
August 24, 2006
231
41
Kyiv, Ukraine
Home Country
Ukraine Ukraine
This header is also work fine for 1251 coded strings:
Code:
<?xml version="1.0" encoding="windows-1251"?>
<strings>
  <characters>1250</characters>
 

petrushinvs

New Member
October 5, 2006
3
0
47
Home Country
Russian Federation Russian Federation
А Windows XP русские имена фаулов и директорий в какой кодировке хранит? win1251 или UTF-8/16?
Чтоб уж перевести, и с русской виндой все работало.
 

AlexPlas

Portal Pro
August 24, 2006
231
41
Kyiv, Ukraine
Home Country
Ukraine Ukraine
<?xml version="1.0" encoding="windows-1251"?>
It's standard XML header and "encoding" describe character set for XML file content - nothing more. Problem with cyrillic characters MediaPortal have because of method of fonts handling. MediaPortal prebuild bitmaps for the first N unicode characters in the font. By default N is 512 and it is not enough to display cyrillic characters. Value <characters>1250</characters> resolve this problem.

BTW Refer this guide http://wiki.team-mediaportal.com/TranslatorGuide
 

petrushinvs

New Member
October 5, 2006
3
0
47
Home Country
Russian Federation Russian Federation
OK, I'll made 2 files for both win1251 and UTF-8 encodings and then I'll check for russian file names with each encoding.
Thx.
 

vlesun

New Member
October 10, 2006
2
0
51
Home Country
Russian Federation Russian Federation
Russian interface exists. In MediaPortal-update-0.2.0.4.
Но он почему-то у меня не работает в версии 0.2.0.4. Там не проставлен "characters" и русские названия не отображаются. После установки правильного "characters", MediaPortal перестает грузится. Все начинает работать, если с этой руссификацией откатится к старой версии.
 

davbox

New Member
November 23, 2006
4
0
45
Kemerovo
Home Country
Russian Federation Russian Federation
à ÷òî ó íàñ ñ Epg çàñàäà??? íå ìîãó çàñòàâèòü ñ ïëþñîâ ïî ðóññêè ïîêàçûâàòü ó êîãîíèòü ïîëó÷èëîñü êàêíèòü??? áëàãîäàðåí çà ëþáóþ ïîìîùü
 

davbox

New Member
November 23, 2006
4
0
45
Kemerovo
Home Country
Russian Federation Russian Federation
i write in win1251, i see my posts ok, too see change code page on this page to win1251//

а теперь можно по русски.. я из россии и смотрю нтв плюс.. все здорово но EPG засада...
 

Users who are viewing this thread

Top Bottom