| |||||||
| Support Problems which do not belog to any other main features |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Tester Join Date: Feb 2005 Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts
Country: | 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? |
| | |
| | #2 (permalink) |
| Portal Developer Join Date: Apr 2005 Location: Osnabruck
Posts: 2,697
Thanks: 120
Thanked 126 Times in 87 Posts
Country: | 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. |
| | |
| | #3 (permalink) | |
| Portal Tester Join Date: Feb 2005 Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts
Country: | Quote:
<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 | |
| | |
| | #4 (permalink) |
| Portal Developer Join Date: Apr 2005 Location: Osnabruck
Posts: 2,697
Thanks: 120
Thanked 126 Times in 87 Posts
Country: | 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>
![]() |
| | |
| | #5 (permalink) | |
| Portal Tester Join Date: Feb 2005 Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts
Country: | Quote:
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? | |
| | |
| | #6 (permalink) |
| Portal Tester Join Date: Feb 2005 Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts
Country: | 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 .... ![]() |
| | |
| | #7 (permalink) |
| Portal Tester Join Date: Feb 2005 Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts
Country: | 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>
![]() 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. |
| | |
![]() |
| Bookmarks |
| Tags |
| found, translation |
| Thread Tools | |
| Display Modes | |
| |
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 |