add new lines in string.xml? (1 Viewer)

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,064
    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

    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
    2K
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    1K
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    2K
    MP1 MP2 TVGuide Users DE
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it is set up for use with MediaPortal..? I havebeen using Zap2XML / GraceNote but that just died (for me alone seemingly) and I am out of listings. :( Would appreciate any help - Thanks.
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Replies
    0
    Views
    751
    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
    1K
    Top Bottom