No translation found for id 107986 .... (1 Viewer)

Taipan

Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    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?
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    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.
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    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 .... :)


    :D for the advice
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    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 :)
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    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

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    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 .... :confused:
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    Is that the intended behavior, or have I misunderstood it .... :confused:

    I got it wrong :)ooops: ) - 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.
     

    Users who are viewing this thread

    Top Bottom