How does internationalization work in scripts?
#1
I'm very new in development scripts using python. I know that internationalization works on xbmc-level using label-ids and settings.xml/strings.xml. I wonder how this works in scripts, eg an english message like:

Code:
xbmc.executebuiltin('Notification(Callmonitor at %s:%s not available,5000)' % (host, port))

will be in german:

Code:
xbmc.executebuiltin('Notification(Anrufmonitor unter %s:%s nicht erreichbar,5000)' % (host, port))

How do I do this? Can anyone point me in the right direction? I don't want hardcoding this kind of messages in the script.

_BJ1
Reply
#2
I would suggest you look at how scripts do it in official repo, they all have it
Reply
#3
Have found a solution here and have looked into the RssEditor for examples too. Question solved Wink

_BJ1
Reply

Logout Mark Read Team Forum Stats Members Help
How does internationalization work in scripts?0