language support not creating languages?

Report & discuss bugs found in 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
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

language support not creating languages?

Post 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.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: language support not creating languages?

Post 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
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
safihre
Administrator
Administrator
Posts: 5339
Joined: April 30th, 2015, 7:35 am
Contact:

Re: language support not creating languages?

Post by safihre »

Yeah we list that in the README, it's not very obvious indeed!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply