Page 1 of 1

Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 6th, 2010, 5:03 pm
by mrmaxon
I just updated from 0.4.12 to 0.5b5 on my qnap nas ts219 following these instructions.. just with v0.5b5 files of course ;-)
http://www.networknet.nl/apps/wp/archives/872

Now I can access sabnzbd0.5 in my browser, but I don't see any translated text.. only the ##PLACEHOLDERS##. First thought was that sabnzb had issues ready my config but my old settings are still there except that the language option drop down is empty.

Would greatly appreciate any help to fix this.

cheers maxon

Re: Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 6th, 2010, 5:25 pm
by shypike
Incorrect installation or the package is just wrong.
There must be a folder called "language" in the folder where SABnzbd.py is.
This folder holds the translations (including the English texts).
0.4.12 did not have multi-language facilities.

Re: Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 6th, 2010, 5:36 pm
by mrmaxon
The folder exists and contains us-en.txt as well as email-us-en.tmpl.
In my sabnzbd.ini  I have set: language = us-en

Is there any log file where I would see an error if sabnzbd had trouble accessing these files?

EDIT: Just downloaded a file. Everything seems to work except the locale.

Re: Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 6th, 2010, 6:11 pm
by mrmaxon
A little update on this one.

Seems that the shell script causes my troubles.
When starting with "python SABnzbd.py" it works like a charm.

Problem is that i don't know anything about creepy shell scripts  ???

Any clue what could lead to not seeing translations?

Re: Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 6th, 2010, 6:45 pm
by mrmaxon
fixed it *proud*

just added the following line to the sabnzbd.sh script on line 91 of the original qnap qpkg.
/bin/ln -sf "${QPKG_BASE}/.qpkg/SABnzbd+/language" "/usr/bin/language"

kind of obvious when updating from a version that didn't have language support.. but a lot of work for a non shell script human  ;D

thx anyways!!

Re: Languge broken after update from 0.4.12 to 0.5b5 on qnap nas

Posted: January 7th, 2010, 2:55 am
by shypike
Did you overwrite the content of an existing 0.4.12 package?
I assumed you found a new 0.5.0 package.