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
    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
    1K
    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
    MP1 MP2 Design questions. DE
    No No
    No No
    Is there an xml display utility that will allow graphically checking of dialog and osd text and graphics element placement? or Is...
    Replies
    1
    Views
    1K
    Thanks very much, Jasmeet. Worked. But note that this setting has moved, apparently, to: Settings > TV (not Plugins)
    Thanks very much, Jasmeet. Worked. But note that this setting has moved, apparently, to: Settings > TV (not Plugins)
    I recently did a fresh install of 2.5 on a new Windows 11 PC. My previous (Windows 10) version of 2.5 gave my broadcast TV channel...
    Replies
    2
    Views
    2K
    Top Bottom