Page 1 of 1

language support not creating languages?

Posted: August 16th, 2020, 4:28 pm
by OneCD
Hi guys,

I've confirmed this problem in Python 3.8.3 on my old QNAP running QTS 4.2.6, and Python 3.7.3 on Debian 10.5

After cloning SABnzbd from 'master' branch and running 'make_mo.py':

Code: Select all

[/share/MD0_DATA/.qpkg/SABnzbd/SABnzbd/tools] # python3 make_mo.py 
Email MO files
Create email templates from MO files
Main program MO files
Remove temporary templates
I thought this used to show a list of languages?

Then I restart SABnzbd. When the SAB UI is launched, it only shows English. ???

I'm not sure if something changed recently. I last checked this a few days ago, and language support was fine.

edit: same problem when testing the 'develop' branch.

Re: language support not creating languages?

Posted: August 16th, 2020, 4:36 pm
by OneCD
Bah, figured it out. My fault.

I had to make the working directory [/share/MD0_DATA/.qpkg/SABnzbd/SABnzbd] first, then run:

Code: Select all

python3 tools/make_mo.py
This would have happened when I changed the sherpa-installed service script so it wasn't jumping around all over the filesystem into different directories.

So, solved! ;D

Re: language support not creating languages?

Posted: August 17th, 2020, 7:11 am
by safihre
Yeah we list that in the README, it's not very obvious indeed!