Foreign language support for plugin and rename system | Page 2

Discussion in 'IMDb+' started by RoChess, November 30, 2011.

  1. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Re : Foreign language support for plugin and rename system

    Tell me if I'm wrong but it seems that nobody has made the French translation (fr.xml) file.



    I found nothing here : imdbplus - Revision 240: /trunk/IMDb+/Languages and only "en-US.xml" into "C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\language\IMDb+"

    I'll be really proud to contribute at this great plugin by doing the French translation. Tell me if it's needed.

    Bye!
     
  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,335
    Ratings:
    +1,744 / 2
    Re: Re : Foreign language support for plugin and rename system

    Yes, still missing French and Italian. So if you feel up for it, please do :)

    Be sure to use the en-US.xml file from that SVN location so that you always have the current revision as a basis for your French one.

    PS: If you update your IMDb+ plugin you will get the other languages in the local location as well, as they are included with v1.4.239.

    :D
     
  4. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Re : Foreign language support for plugin and rename system

    Ok I'll do the job. I'll try to update the plugin tomorrow pm.

    I thing that I can get the French file ready for the end of the week.

    @+
     
    • Like Like x 1
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,335
    Ratings:
    +1,744 / 2
    Looks like I messed up with the MPEI package, and because I had already manually put the language files in place I did not notice it, until I helped somebody do a clean install and only en-US.xml file showed.

    But I've updated the MPEI package xmp2 file already, so once you provide me with the French language file and I'm able to get the Italian one and updated versions of the other languages I'll release a new IMDb+ plugin, hopefully with some enhancements added as well.
     
  6. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Re : Foreign language support for plugin and rename system

    Ok that's why I couldn't find the files with the last release installed.

    I've just started to make the translation into a copy of en-US.xml and I tried to use my file instead of en-US.xml to check that it's ok into MP and MP still displaying the English sentences... strange! :confused: Is your code already reading the en-US.xml file? I suppose!

    I tried with StreamedMP and Default skin without success.

    Here is the complete path to the file :

    C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\language\IMDb+\en-US.xml

    Hereby you'll find a copy of the file I'm tring to test.
     

    Attached Files:

    • en-US.xml
      File size:
      20.1 KB
      Uploaded:
      January 24, 2012
      Views:
      141
  7. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,335
    Ratings:
    +1,744 / 2
    Re: Re : Foreign language support for plugin and rename system

    You have to rename the file to "fr.xml" to match the language setting you use in MediaPortal (assuming you configured MePo to use French).

    If you look at the IMDb+.log file you can also see this reflected via: (date) (time) [MPMain][1][Info] Using language en-US (using my own log file entry as an example with English (US) set as MePo language)

    It is when no language file exists (or the language file has missing values), that the hardcoded 'English' values are used from the plugin itself.

    PS: If you have 'English' selected as MePo language, then you need to use "en.xml" as filename. But in this case you should configure MePo to use 'French' as language and use "fr.xml" for filename to match.
     
  8. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Re : Re: Re : Foreign language support for plugin and rename system

    Ok that's why it doesn't work with en-US.xmk. I renamed the file into fr.xml and it's now ok!

    I'll send you the file when the job is completely done! ;)
     
  9. TiboTv

    TiboTv Portal Pro

    Joined:
    June 22, 2009
    Messages:
    244
    Likes Received:
    29
    Ratings:
    +38 / 2
    Home Country:
    Belgium Belgium
    Show System Specs
    Re : Foreign language support for plugin and rename system

    Hereby, you'll find the French translation file.

    Bye!
     

    Attached Files:

    • fr.xml
      File size:
      21.3 KB
      Uploaded:
      January 30, 2012
      Views:
      161
    • Like Like x 1
  10. dncv

    dncv Portal Member

    Joined:
    February 1, 2007
    Messages:
    13
    Likes Received:
    9
    Location:
    Maia
    Ratings:
    +9 / 0
    Home Country:
    Portugal Portugal
    Hi,RoChess

    Translation done with the missing lines, I hope that everything is ok.

    Regards.
     

    Attached Files:

    • pt-PT.xml
      File size:
      20.9 KB
      Uploaded:
      January 30, 2012
      Views:
      173
    • Like Like x 1
  11. MrCrabs

    MrCrabs Portal Pro

    Joined:
    January 21, 2010
    Messages:
    884
    Likes Received:
    117
    Gender:
    Male
    Occupation:
    Ingenieur Maschinenbau / mechanical engineer
    Location:
    Braunschweig
    Ratings:
    +129 / 1
    Home Country:
    Germany Germany
    Show System Specs
    And here you go with the german one including the new lines on british-english titles and englisch rating systems.
     

    Attached Files:

    • de.xml
      File size:
      21 KB
      Uploaded:
      January 30, 2012
      Views:
      173
    • Like Like x 2
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!