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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
mrmaxon
Newbie
Newbie
Posts: 4
Joined: January 2nd, 2010, 1:20 pm

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

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
mrmaxon
Newbie
Newbie
Posts: 4
Joined: January 2nd, 2010, 1:20 pm

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

Post 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.
Last edited by mrmaxon on January 6th, 2010, 5:45 pm, edited 1 time in total.
mrmaxon
Newbie
Newbie
Posts: 4
Joined: January 2nd, 2010, 1:20 pm

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

Post 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?
mrmaxon
Newbie
Newbie
Posts: 4
Joined: January 2nd, 2010, 1:20 pm

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

Post 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!!
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Did you overwrite the content of an existing 0.4.12 package?
I assumed you found a new 0.5.0 package.
Post Reply