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

    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
    500
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the stations but if I rescan it on the same card it just keeps updating the 1 channel. My brain is melting.........
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the...
    Having great fun with this still. I have a fairly good PC setup, Ryzen 5 8500g, Msi Pro 650M-P with 32GB of RAM with a TBS 6281 and...
    Replies
    2
    Views
    503
    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
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    I have some weird behavior trying to operate the MP GUI in a new installation of MP 1.36 under Windows 11 Pro. Some of the remote...
    Replies
    33
    Views
    2K
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Pushed to Github https :// github.com / MPExtended / Skins / commit / 541cd57a89b85e1971d0a6086e3dc650cb9ab60f
    Hi there I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several...
    Replies
    6
    Views
    854
    Top Bottom