Thread Rating:
  • 0 Vote(s) - 0 Average
Problem with PO file?
#1
Hey, little help, I'm sure it's something simple I am missing,
but in the latest version of Phenomenal, the skin isn't loading translation file.

debug log lines:
Code:
11:34:07.927 T:3588    INFO:   load fonts for skin...
11:34:07.930 T:3588    INFO: Loading fonts from C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\1080p\Font.xml
11:34:08.005 T:3588   DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\language\Hebrew\strings.po
11:34:08.005 T:3588   ERROR: POParser: unable to read PO file header from file: C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\language\Hebrew\strings.po
11:34:08.005 T:3588   DEBUG: unable to load C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\language\Hebrew\strings.xml: Failed to open file at line 0
11:34:08.006 T:3588   DEBUG: LocalizeStrings: loaded 211 strings from file C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\language\English\strings.po

link to PO:
https://github.com/tomer953/skin.phenome...strings.po

little history:
in a recent update i did, BigNoid told me to remove the empty strings in lines 8-9, which was not a good idea since Kodi need them,
so I think he add them back manually, then I added it to the github as well,
then in the next update I pushed my files - Kodi isn't load them...

what i'm missing?
Confused

@BigNoid
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
#2
Have you tried changing the first section to this -

Code:
# Kodi Media Center language file
# Addon Name: Phenomenal
# Addon id: skin.phenomenal
# Addon Provider: tomer953
msgid ""        
msgstr ""

msgctxt "#31000"
msgid "Local subtitle available"
msgstr "כתובית מקומית זמינה"
Reply
#3
Nope, but now I tried, and it fixed it lol :]

thanks
Phenomenal™ Skin • ForumWebsiteGitHub
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Problem with PO file?00