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

    Similar threads

    MP1 MP2 [solved] EPG windows DE
    So, with your tips I've deep looking on the config program. And I've found the mapping for HID device. I've make the key config for up and down keys. And it's Work! Really big thanks to you and the team that give this great mediacenter. Cheers ;)
    So, with your tips I've deep looking on the config program. And I've found the mapping for HID device. I've make the key config for...
    Hello, How to scroll the line in the epg windows with titan extended skin? I see the firts 11 channel lines but I cannot get the...
    Replies
    3
    Views
    1K
    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when a scheduled recording starts. Regarding the monitor sleeping when playing music, if the screensaver option is set in your MP skin settings try disabling it, I have a vague recollection it may get...
    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when...
    Hi, everytime my computer awakes for scheduled recordings, the monitor awake too and does not switch of during the whole recording...
    Replies
    5
    Views
    376
    My knowledge of programming is limited, but the logic in this seems to confirm what I thought, thank you.
    My knowledge of programming is limited, but the logic in this seems to confirm what I thought, thank you.
    Good evening, Does anybody know the mouse position (Ypos coordinate) below which the topbar activates. I seem to remember there...
    Replies
    5
    Views
    758
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    567
    MP1 MP2 Volume property DE
    Thank you very much
    Thank you very much
    Good evening, Does anyone know if there is a Mediaportal property to report the current volume level as an integer? I have looked...
    Replies
    2
    Views
    1K
    Top Bottom