[Solved] Use default string from XBMC core in addon settings - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Translations and Languages (https://forum.kodi.tv/forumdisplay.php?fid=90) +--- Thread: [Solved] Use default string from XBMC core in addon settings (/showthread.php?tid=175484) |
[Solved] Use default string from XBMC core in addon settings - mikebzh44 - 2013-10-11 Hi. Is it possible, in addon settings (e.g. settings.xml) to use string ID from XBMC core strings.po. For example, in settings.xml addon file : Code: <setting label="14092" type="lsep"/> Because with this code, label are void I hope it's possible because why create and translate new strings in strings.po from addon when those strings exists in strings.po from XBMC core. Thanks. RE: Use default string from XBMC core in addon settings - mikebzh44 - 2013-10-15 No one can help me ? RE: Use default string from XBMC core in addon settings - mikebzh44 - 2013-10-15 Screenshot with no label : French : English : XML : Code: <?xml version="1.0" encoding="utf-8" standalone="yes"?> Strings.po from XBMC Core (C:\Program Files\XBMC-Frodo\language\French\strings.po) : Code: msgctxt "#14092" RE: Use default string from XBMC core in addon settings - jmarshall - 2013-10-16 One reason might be that it's useful for add-ons to be self-contained. We can (and probably will) change strings in core at some point, at which time your add-on will be broken, or be displaying something non-sensical. I'm not sure if we pool strings when translating on Transifex or not - seems like it might be something that is doable? RE: Use default string from XBMC core in addon settings - mikebzh44 - 2013-10-16 Yes, you are right. Using XBMC core label can give some unexpected label if XBMC team change label for a given ID. It's better that addon use there own labels. Thanks. |