2023-02-06, 17:34
(2023-02-04, 00:47)SoulReaver Wrote:(2023-02-03, 23:37)HisAirness23 Wrote:(2023-02-03, 22:19)SoulReaver Wrote: You can just copy the missing strings code from the en_gb strings file to the language file of your choice and type the translation in the msgstr line and it will translate to that if your Kodi language is set to that same language in Kodi > Settings > Interface > Regional > Language.
Some of the string codes are not missing and it still doesn't work. "More like this" (in en_gb) has already been translated from "Similar" en_us to "Änhnlich" in the de_de strings file. I guess More like this and similar mean the same as they both share the same #31622, just BE and AE.
msgctxt "#31622"
msgid "Similar"
msgstr "Ähnlich"
It's still showing "More like this" though. The Kodi language and region has been set to regional > language > german. Am I missing a setting somewhere?
Thanks again
Try putting this in the de_de strings file
msgctxt "#31622"
msgid "More Like This"
msgstr "your translation"
msgctxt "#320005"
msgid "Similar"
msgstr "your translation"
And test again with Kodi language set to German.
I added and tested it but it doesn't change anything.
@HugoL I even changed the label in the xml file directly and it still doesn't do anything. I don't know where it's pulling the data from. I even changed the language in Kodi to English and back to German. When changing a label in the English strings file it also has no effect. The labels change from German to English though if I set the language in Kodi. Not sure what's wrong. :/
Got it to work. I have to change the msgid directly in the en_GB strings.po file. I don't know why it isn't working with the german string file.