v19 Why the correct strings.po isn't loaded in my language?
#1
Hi,

I have an addon with the language directories and files:
- resources/language/resource.language.en_gb/strings.po
- resources/language/resource.language.he_il/strings.po

When I set my Kodi on Hebrew he still loads the text from "resource.language.en_gb" instead of "resource.language.he_il".
What could be the reason?
In other addons they have the same strcture and they works fine.

Here is my strings.po for Hebrew: https://ctxt.io/2/AACgi2_VEQ
Here is another strings.po for Hebrew that works to compare: https://ctxt.io/2/AACgc4lRFA

Thanks.
Reply
#2
That's not quite the right folder structure. It needs to be:

Code:
resources/language/resource.language.en_gb/strings.po

etc.
Reply
#3
(2021-08-29, 15:20)pkscout Wrote: That's not quite the right folder structure. It needs to be:

Code:
resources/language/resource.language.en_gb/strings.po

etc.

Yes I know, it was typing mistake in my post.
The structure is as you wrote, exactly the same,
and I still don't know why it doesn't load it from the correct langauge folder.
Reply
#4
It would probably help to see a complete debug log that includes opening something in your addon that loads a string to show.
Reply
#5
(2021-08-30, 13:42)pkscout Wrote: It would probably help to see a complete debug log that includes opening something in your addon that loads a string to show.

Kodi debug log: https://paste.ubuntu.com/p/9hnRDGXPpJ
1 - Got into settings, it loads the en-gb resource file, so in some places in the settings it get "msgid" content, but some of them are not exist (probably uses the "msgstr" content)
2 - In addition, running the addon made kodi to crash (When Kodi is on Hebrew. While it on English it's ok)

The en-gb strings.po: https://paste.ubuntu.com/p/HqTrg6WyGY
The he-il strings.po: https://paste.ubuntu.com/p/xqtzXMm522
Reply
#6
Hi,

Does anyone know what could be the problem?

@pkscout  ?
Reply

Logout Mark Read Team Forum Stats Members Help
Why the correct strings.po isn't loaded in my language?0