MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » other features (of release or svn versions) » Support


Support Problems which do not belog to any other main features

Reply
 
Thread Tools Display Modes
Old 2007-04-04, 08:04   #1 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default No translation found for id 107986 ....

MediaPortal Version: 0.2.2.0 SVN 13811 (April 4th)
MediaPortal Skin: BlueTwo wide
Windows Version: Windows XP Prof. SP2
CPU Type: AMD Athlon XP 2700+
HDD: Seagate 200GB ATA100
Memory: 512MB - DDR 333 (PC3200)
Motherboard: Gigabyte 7VM400M-RZ
Motherboard Chipset: VIA KM400
Motherboard Bios:
Video Card: Gigabyte - Radeon 9550
Video Card Driver: ATI Radeon v6.4
Sound Card: On board VIA VT1617
Sound Card AC3: using 5.1 analog outputs
Sound Card Driver: VIA Vinyl Audio v6.50a
1. TV Card: Dvico FusionHDTV DVB-T
1. TV Card Type: DVB-T
1. TV Card Driver: v 3.50.02
2. TV Card: DNTVLive! LP DVB-T
2. TV Card Type: DVB-T
2. TV Card Driver: v 2.0.0.4
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Cyberlink PowerDVD 6
MPEG2 Audio Codec: MPA
Satelite/CableTV Provider: none
HTPC Case: custom built
Cooling: custom built - super quiet
Power Supply: custom built - 200W
Remote: MCE - Australian version
TV: BENQ PB6200 DLP projector
TV - HTPC Connection: D-sub (15 pin)

I have noticed the following error messages appearing in error.log for SVN 13811 (they may have been there for earlier SVNs, but I haven't noticed):-

2007-04-04 15:49:45.625000 [ERROR][MPMain]: No translation found for id 107986
2007-04-04 15:49:48.062500 [ERROR][MPMain]: No translation found for id 107986
2007-04-04 15:49:48.125000 [ERROR][MPMain]: No translation found for id 79861
2007-04-04 15:49:48.187500 [ERROR][MPMain]: No translation found for id 107987
2007-04-04 15:49:59.296875 [ERROR][MPMain]: No translation found for id 107986


The skin files mesFilms.xml and mesFilmsDetail.xml contain the IDs 7986 & 7987 - so I assume that those error messages refer to these skin IDs?

Can someone advise me where the IDs for plugins (like My Films, My Lyrics, etc) should be declared, so that these error messages do not appear?
Taipan is online now   Reply With Quote
Old 2007-04-04, 09:59   #2 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,697
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

the plugin should deliver a language "extension" file supplying its own IDs. They are needed for the window name - e.g. to display the module title in VFD displays.

For further information please read James' post about the new language system.
__________________
rtv is offline   Reply With Quote
Old 2007-04-04, 14:11   #3 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Quote:
Originally Posted by rtv View Post
For further information please read James' post about the new language system.
Here's James' post on this topic, and if I understood it correctly, I have added the following lines to the "strings_en.xml" file:-

<string id="100558" prefix="My ">PVR Scheduler</string>
<string id="107776" prefix="My ">Tetris</string>
<string id="107986" prefix="My ">Films</string>
<string id="107987" prefix="My ">Films detail</string>
<string id="190478" prefix="My ">Lyrics</string>


and now the error messages have gone ....


for the advice
Taipan is online now   Reply With Quote
Old 2007-04-04, 17:31   #4 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,697
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

Thanks for linking the thread for other people. As stated there you shouldn't modify the "parent" language file but instead create a strings_user.xml like this:


Code:
<?xml version="1.0" encoding="utf-8"?> 
  <Language name="Custom" characters="255">
    <Section name="unmapped"> 
      <string id="100558" prefix="My ">PVR Scheduler</string>
      <string id="107776" prefix="My ">Tetris</string>
      <string id="107986" prefix="My ">Films</string>
      <string id="107987" prefix="My ">Films detail</string>
      <string id="190478" prefix="My ">Lyrics</string>
    </Section>
  </Language>
Edit: One of the main advantages of this solution is that this file won't get overwritten each day with an svn update
__________________
rtv is offline   Reply With Quote
Old 2007-04-04, 22:53   #5 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Quote:
Originally Posted by rtv View Post
you shouldn't modify the "parent" language file but instead create a strings_user.xml - one of the main advantages of this solution is that this file won't get overwritten each day with an svn update
Ah yes - good point - I was wondering about that.

In future, will the IDs for "known" plugins (like the ones I have added) be included in the supplied strings_en.xml file, or will the plugin installation process be required to generate an entry in the strings_user.xml file?
Taipan is online now   Reply With Quote
Old 2007-04-05, 03:26   #6 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Hmmm - I noticed that when I removed those extra entries from the strings_en.xml file (so they were only in the strings_user.xml file), the error messages listed in my first post re-appeared ....

It looks like ID entries in the strings_user.xml file are only able to modify the equivalent ID entry in the strings_en.xml file - if the ID entry does not exist at all in the strings_en.xml file, then it will be ignored?

Is that the intended behavior, or have I misunderstood it ....
Taipan is online now   Reply With Quote
Old 2007-04-08, 08:12   #7 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Quote:
Originally Posted by Taipan View Post
Is that the intended behavior, or have I misunderstood it ....
I got it wrong ( ) - the entries in the strings_user.xml file should be like this:-

Code:
<?xml version="1.0" encoding="utf-8"?> 
  <Language name="Custom" characters="255">
    <Section name="unmapped"> 
      <String id="100558" prefix="My ">PVR Scheduler</String>
      <String id="107776" prefix="My ">Tetris</String>
      <String id="107986" prefix="My ">Films</String>
      <String id="107987" prefix="My ">Films detail</String>
      <String id="190478" prefix="My ">Lyrics</String>
    </Section>
  </Language>
with an uppercase "S" on the tag "String" - then it works as described by James ....

I had an uppercase "S" on the entries in the strings_en.xml file, but lowercase "s" on the same entries in the strings_user.xml file - hence the reason that the enties in the strings_user.xml file were being ignored.
Taipan is online now   Reply With Quote
Reply

Bookmarks

Tags
found, translation

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No audio/video pins found , no channel found Acteo pre 1.0 RC1 51 2008-04-07 00:55
Dutch translation THDBASED General Development (no feature request here!) 4 2006-08-23 00:07
No video capture card were found... but wizzard found!!! atomizasser Codecs, External Players 1 2006-07-18 22:03
So I did some translation... what do I do with it? NLS General Development (no feature request here!) 10 2006-05-08 15:27
myWeather translation and more Anonymous Plugins 2 2004-11-09 12:19


All times are GMT +1. The time now is 03:12.


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
Advertisement System V2.6 By   Branden