How to add translation for settings menu (2 Viewers)

powermarcel10

Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,836
    899
    38
    Groningen
    Home Country
    Netherlands Netherlands
    Hello,

    I was wondering if there is a way to translate the settings menu for onlinevideo..

    I have up-to-date translation files for Onlinevideos and myextensions plugin but it's still in nglish.. Is it hard coded maybe?
     

    Attachments

    • online videos.jpg
      online videos.jpg
      146.2 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Those are in another xml file and once you see that screen you are in the MPEI GUI Plugin, no longer OV ;) So might be a better place to ask if those are actually localizable in that thread.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,767
    7,241
    Sydney
    Home Country
    Australia Australia
    Those are in another xml file and once you see that screen you are in the MPEI GUI Plugin, no longer OV ;) So might be a better place to ask if those are actually localizable in that thread.

    Hey offbyone, you can use your own translations (instead of hard-coded strings) in the settings xml. They are in the form of skin properties, so be sure to set them on Init(). You may already do this, im not sure how you currently handle translations.

    e.g.
    https://github.com/Technicolour/Tra...b/master/MPEI/Settings/extension_settings.xml

    You can also create descriptions for each of your settings.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I remembered something about that, but was not sure ;) Thanks. I think I'll add the translations for the settings and change the file then on next release.
     

    Users who are viewing this thread

    Top Bottom