how to include my string ID beside $info().Property()
#1
I want to add my string ID "31003" which is located in language string.po file before the value_4:
 
Quote:            <label>"31003" | $INFO[Window(Home).Property(value_4)]</label>
 

Any one can help me How can I achieve it?
Reply
#2
<label>$LOCALIZE[31003] | $INFO[Window(Home).Property(value_4)]</label>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
great thanks it works   Blush
Reply
#4
Label Parsing and Label Formatting
Reply
#5
(2019-03-09, 18:47)Hitcher Wrote: Label Parsing and Label Formatting
 Thanks for share it  Blush  but how can I bring the string ID in python script from string.po!
Reply
#6
read those wiki articles again ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
I read them both but didn't find any way how to get string ID langage from python script Huh

I google it and got this self.get_local_string(string_id=30022) but don't know how to use it...i am still on it Tongue
Reply
#8
Finally I got it through this :  
Code:
[font]xbmcaddon.Addon([id]).getLocalizedString(id)[/font]:D
Reply

Logout Mark Read Team Forum Stats Members Help
how to include my string ID beside $info().Property()0