MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-10-10, 15:03   #1 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 31
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Russian language

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?
petrushinvs is offline   Reply With Quote
Old 2006-10-10, 17:15   #2 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 35
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

1. Да. string.xml должен начинаться с
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<characters>1279
</characters>
1279 - позволяет отображать русские буквы в именах файлов.
vlesun is offline   Reply With Quote
Old 2006-10-10, 19:52   #3 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Kiev, Ukraine
Age: 33
Posts: 42
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default

This header is also work fine for 1251 coded strings:
Code:
<?xml version="1.0" encoding="windows-1251"?>
<strings>
  <characters>1250</characters>
AlexPlas is offline   Reply With Quote
Old 2006-10-11, 10:12   #4 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 31
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

А Windows XP русские имена фаулов и директорий в какой кодировке хранит? win1251 или UTF-8/16?
Чтоб уж перевести, и с русской виндой все работало.
petrushinvs is offline   Reply With Quote
Old 2006-10-11, 11:33   #5 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Kiev, Ukraine
Age: 33
Posts: 42
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default

<?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
AlexPlas is offline   Reply With Quote
Old 2006-10-11, 12:17   #6 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 31
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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.
petrushinvs is offline   Reply With Quote
Old 2006-10-11, 21:32   #7 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 35
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Russian interface exists. In MediaPortal-update-0.2.0.4.
Но он почему-то у меня не работает в версии 0.2.0.4. Там не проставлен "characters" и русские названия не отображаются. После установки правильного "characters", MediaPortal перестает грузится. Все начинает работать, если с этой руссификацией откатится к старой версии.
vlesun is offline   Reply With Quote
Old 2007-01-05, 21:22   #8 (permalink)
Portal User
 
Join Date: Nov 2006
Location: Kemerovo
Age: 29
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via ICQ to davbox
Default

а что у нас с Epg засада??? не могу заставить с плюсов по русски показывать у когонить получилось какнить??? благодарен за любую помощь
davbox is offline   Reply With Quote
Old 2007-01-05, 21:40   #9 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Kiev, Ukraine
Age: 33
Posts: 42
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default

Please setup your charset/encoding...

Are you from Kiev and using Volia Digital TV?
AlexPlas is offline   Reply With Quote
Old 2007-01-06, 05:41   #10 (permalink)
Portal User
 
Join Date: Nov 2006
Location: Kemerovo
Age: 29
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via ICQ to davbox
Default

i write in win1251, i see my posts ok, too see change code page on this page to win1251//

а теперь можно по русски.. я из россии и смотрю нтв плюс.. все здорово но EPG засада...
davbox is offline   Reply With Quote
Reply

Bookmarks

Tags
language, russian

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hauppauge HVR-900 Analog Card JoG General Support 9 2007-04-02 09:03
Freezing when changing channel petteram The old Bugreport Forum 5 2006-12-15 13:19
no video from both DVD and TV postema Installation, configuration support 17 2006-12-05 21:09
Recording from TV 'Arry General Support 2 2006-09-20 00:12
[Last CVS] Plugin section messed up and error ookmich The old Bugreport Forum 7 2006-03-04 18:01


All times are GMT +1. The time now is 11:29.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress