add new lines in string.xml? (2 Viewers)

DamNick

Portal Member
April 14, 2006
25
0
Does anyone know how can i add new lines in strings.xml?

I want to translate the my planner plugin which is not included there.

Thanks.
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
If you're prepared to submit your plugin and allow it to become part of the MP distribution (subject to the devs approval - e.g. must be in C#, appropriate etc.), then you can follow the instructions below:

Pick out a range of stringIDs that haven't been used yet (must be below 9999), add in the entries, make your changes in the code, then submit your code as a patch on SF, and let the devs know on IRC.

Otherwise, you'll just have to incllude the new entries that you have made in the XML file in a text file for people to manually insert into their strings.xml file with your plugin.

Sam
 

DamNick

Portal Member
April 14, 2006
25
0
thanks

samuel337 said:
If you're prepared to submit your plugin and allow it to become part of the MP distribution (subject to the devs approval - e.g. must be in C#, appropriate etc.), then you can follow the instructions below:

Pick out a range of stringIDs that haven't been used yet (must be below 9999), add in the entries, make your changes in the code, then submit your code as a patch on SF, and let the devs know on IRC.

Otherwise, you'll just have to incllude the new entries that you have made in the XML file in a text file for people to manually insert into their strings.xml file with your plugin.

Sam

Thanks for the answer.
The plugin "My Planner" is not mine.
 

DamNick

Portal Member
April 14, 2006
25
0
samuel337 said:
Hang on... so what you want to do is add translations to the strings used in My Planner? And it doesn't involve any code changes (i.e. the strings are already in strings.xml for english)?

If so, then all you need to do is go to http://www.mp-webinterface.com/mple/ and edit the string files there for the appropriate language.

Sam

The My planner strings are not in the english strings.xml.
So what can i do?
 

mzemina

Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    DamNick - One thing you may want to do is ask the developer if he would as one of the next tasks to this plugin take out the strings and place them in the xml file. It could be that you could help him and then maybe the two of you can work it so that would help out everyone with this plugin.
     

    Users who are viewing this thread


    Write your reply...

    Similar threads

    Well, I had already recognized your problem, but I still wanted to point out the basic connections once again. Unfortunately, I don't have a fundamentally different solution for you, but with this approach you should achieve your goal. ;) The idea of first setting the current genre colors with the defines is certainly a good one, as...
    Well, I had already recognized your problem, but I still wanted to point out the basic connections once again. Unfortunately, I...
    Good afternoon, Does anyone know a way of referencing the genre colour of the currently selected item in the TV Guide. We are all...
    Replies
    4
    Views
    399
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows. Which xmls should I be looking at to change.? Thanks!
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    How do you add a new selection to the TV Guide Rows option in the BasicHome Editor in DWHD? Id like to add an option for 8 Rows...
    Replies
    0
    Views
    167
    • Sticky
    If I'm not mistaken, there are ProgressBar controls at the bottom of the facadeview/listcontrol section in the common.facade.video.shares and the common.facade.video.Title xmls. it shows a one pixel progress bar at the bottom of the list label texture. I would like to know if it can be done the same in the other screens, to be...
    If I'm not mistaken, there are ProgressBar controls at the bottom of the facadeview/listcontrol section in the...
    After around 13 years, catavolt and High_Five - our new colleague in the design team - have decided to completely overhaul the...
    Replies
    25
    Views
    2K
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to it while I work out what to do next. The problem is we have a family member who relies on MiniDisplay and I don't know if upgrading the set up is going to spoil compatibility with that plug in. The set up...
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to...
    Good afternoon, Does anybody know of an expression or property I can use within a conditional visibility statement, that detects...
    Replies
    28
    Views
    1K
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this change :). I hope that it will be included in the next release. -- from CyberSimian in the UK
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this...
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG: But there is no equivalent setting in...
    Replies
    4
    Views
    589
    Top Bottom