Plugin ignores localized file

Discussion in 'IMDb+' started by homer.web, February 10, 2015.

  1. homer.web

    homer.web Portal Member

    Joined:
    December 7, 2014
    Messages:
    25
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Czech Republic Czech Republic
    Hi, I've just finished Czech localization, downloaded file from transifex.com and copied the file to the language\IMDb+ folder and named it as cs.xml, but the plugin ignores it and stays in English. Any suggestion?


     

    Attached Files:

    • cs.zip
      File size:
      6.4 KB
      Uploaded:
      February 10, 2015
      Views:
      125
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    What does the IMDb+ log file say?

    Should have an entry like: 2/11/2015 12:07:42 PM[MPMain][1][Info] Using language en-US
     
  4. homer.web

    homer.web Portal Member

    Joined:
    December 7, 2014
    Messages:
    25
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Czech Republic Czech Republic
    It's full of errors, but no explanation why.
     
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,651
    Likes Received:
    4,613
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,917 / 0
    Home Country:
    Australia Australia
    Works okay for me based on your first post:
    12/02/2015 11:43:54 PM[MPMain][1][Info] Starting IMDb+ v2.0.0.407
    12/02/2015 11:43:54 PM[MPMain][1][Info] Using language cs

    Those errors are pretty useless :(
     
  6. homer.web

    homer.web Portal Member

    Joined:
    December 7, 2014
    Messages:
    25
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Czech Republic Czech Republic
    But what I have noticed is, that the file structure is slightly different (e.g. it has <resources></resources> tags instead of <strings></strings>), and it has added backslash sign to the special signs like: ( ) ', so instead of '.' there is a \'.\'
    But even if I correct this in Notepad++ it's still not working. I have tried to rename de.xml to cs.xml to try, if it can load any other translation file, and it worked like a charm.[DOUBLEPOST=1423745627][/DOUBLEPOST]
    They are. It says nothing about the problem... :(
     
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,651
    Likes Received:
    4,613
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,917 / 0
    Home Country:
    Australia Australia
    Im not 100% sure Rochess has released a plugin update which supports Transifex yet.
     
  8. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,651
    Likes Received:
    4,613
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,917 / 0
    Home Country:
    Australia Australia
    You can try the dll I use.
     

    Attached Files:

    • IMDb+.zip
      File size:
      173.6 KB
      Uploaded:
      February 12, 2015
      Views:
      120
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,651
    Likes Received:
    4,613
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,917 / 0
    Home Country:
    Australia Australia
    The change was done in r354:
    https://code.google.com/p/imdbplus/source/detail?r=354

    Your plugin version is before this date which explains why it didnt work. If you want something official you will have to wait until Rochess wants to release it. Otherwise use the dev build I attached.
     
  10. homer.web

    homer.web Portal Member

    Joined:
    December 7, 2014
    Messages:
    25
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Czech Republic Czech Republic
    Definitely not. I did manage file to be working, But I had to modify it heavily. I noticed, that there was also difference in other tag. I had to rename
    <string name= to <string Field=
    Now its working.[DOUBLEPOST=1423747564][/DOUBLEPOST]
    Thanks. With this dll it works. :)[DOUBLEPOST=1423747763][/DOUBLEPOST]So finally I am done with the Czech localization on Transifex. It's is now 100% translated, and I am going to have some coffee. :D
     

    Attached Files:

    • cs.zip
      File size:
      6.4 KB
      Uploaded:
      February 12, 2015
      Views:
      105
    Last edited: February 12, 2015
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!