Still confused about $LOCALIZE[ ]
#1
Hi
as per my understanding I use $LOCALIZE[ ] to get a string from my own language file translated (or I can use just Label with a string from kodis own database and it will still get translated)
and if i just use label [3204] it will not get transleted is this correct ?

the reason i'm asking is that I see in confluence that for the sidebar a label is used
<label>31051</label>
<altlabel>31050</altlabel>
and they are also translated.

have i misunderstood ? you use $LOCALIZE[ ] outside your own strings.po and just use label when its skin strings ?
What is the logic when to use $LOCALIZE[ ] ?

hope you can help again Wink
Reply
#2
you can use string id's with or without $LOCALIZE[] for both the kodi language file and your skin language file.

the only reason to use $LOCALIZE[] is when you want to do something like:
<label>$LOCALIZE[id,prefix,postfix]</label>
or
<label>$LOCALIZE[id]: $INFO[foo]</label>
and so on..

it doesn't hurt to use $LOCALIZE[], so you might as well always use it (several skins do).
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
ok just to be sure ill aleays use it Wink
Thank you for the reply ronie
Reply

Logout Mark Read Team Forum Stats Members Help
Still confused about $LOCALIZE[ ]0