Problem with PO file?

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tomer953 Offline
Skilled Skinner
Posts: 847
Joined: Mar 2010
Reputation: 15
Post: #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:
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\string​s.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\string​s.po
11:34:08.005 T:3588   DEBUG: unable to load C:\Users\HTPC\AppData\Roaming\Kodi\addons\skin.phenomenal\language\Hebrew\string​s.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\strin​gs.po

link to 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?


Phenomenal™ Skin • ForumWebsiteGitHub
(This post was last modified: 2017-06-14 10:47 by tomer953.)
find quote
Hitcher Offline
Team-Kodi Member
Posts: 13,539
Joined: Aug 2007
Reputation: 212
Location: Eastleigh, UK
Post: #2
Have you tried changing the first section to this -

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

msgctxt "#31000"
msgid "Local subtitle available"
msgstr "כתובית מקומית זמינה"
(This post was last modified: 2017-06-14 11:18 by Hitcher.)
find quote
tomer953 Offline
Skilled Skinner
Posts: 847
Joined: Mar 2010
Reputation: 15
Post: #3
Nope, but now I tried, and it fixed it lol :]


Phenomenal™ Skin • ForumWebsiteGitHub
find quote