Kodi Community Forum

Full Version: xbmcaddon.Addon().getLocalizedString(32002) returns me msgid instead of msgstr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm writing an addon with the new language files. Now I want to get a text inside python, but I get the msgid back instead of msgstr. What I overlook, I have already searched for github and google. but do not have a solution yet



# Kodi Media Center language file
# Addon Name: Kanalenlijst Hans (Streams)
# Addon id: plugin.video.hanssettings
# Addon Provider: Opvolger
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#32001"
msgid "DownloadStreamGithub"
msgstr "Download stream bestanden van github..."

msgctxt "#32002"
msgid "Progress"
msgstr "Vooruitgang"
Do not know what I did wrong, but it suddenly works!