Localization of the MediaPortal installer and user interface (1 Viewer)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    The correct way is to provide a strings_xx.xml specific to the plugin ( like language\movingpictures\strings_it.xml ) and put all the translations there, plugin name as well.
    Or provide a field in the configuration pane of the plugin itself to "rename" it.

    Our official language files will _not_ incorporate those.

    Simone
    I have added that to the first post.

    :D
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Are these plugin specific language files in the subfolders loaded automatically by MediaPortal, or does the plugin delevoper take care of those?
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Recently used the tool for OnlineVideos and couldn't get it to do my russian translation, because it doesn't save in utf-8 encoding! Can someone modify the tool to save utf-8 instead of the current iso-8859-1?
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    Just checked the code:

    Code:
    case frmMain.StringsType.MediaPortal_1:
              writer = new StreamWriter(xml, false, Encoding.UTF8);
              writer.Write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");

    So I don't see where it fails.

    Can you tell me the steps you use to get the translation done please ?

    Simone
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Well since the xml's first line is:

    <?xml version="1.0" encoding="iso-8859-1"?>

    I would say that code is not executed in my case.


    I used the MovingPictures Menu Entry and then chose the dir where the en-US.xml file is and entered some cyrillic letters and did save. The resulting file is not uft-8. (It always saves in non utf-8 not matter what letters are entered).

    I used the executable attached to the first post.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I can't use that one as the format of the xml differs.
     

    Users who are viewing this thread

    Top Bottom