2011-06-28, 07:56
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:
will be in german:
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
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