Does speedtest-cli output in Deutsch when you run it?

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

DaveR

Benutzer
Sehr erfahren
Add-on Developer
Registriert
30. März 2022
Beiträge
1.213
Reaktionspunkte
2.164
Punkte
229
If you have docker installed and run the command below via SSH are following in English or Deutsch ?
Code:
Speedtest by Ookla
Server:
Idle Latency:
data used:
jitter:
Packet Loss:
Result URL:

Code:
sudo docker run -rm -it gists/speedtest-cli
 
Englsih, but your command is wrong :cool:
sudo docker run --rm -it gists/speedtest-cli

Code:
root@DS920plus:~# sudo docker run --rm -it gists/speedtest-cli
Unable to find image 'gists/speedtest-cli:latest' locally
latest: Pulling from gists/speedtest-cli
fe07684b16b8: Pull complete
df5b06e4f0a9: Pull complete
Digest: sha256:44e7b6513dda3fbd6eace46936cbeca36ea08188ae37dd4bbf15e44d08cbd7e7
Status: Downloaded newer image for gists/speedtest-cli:latest
==============================================================================

You may only use this Speedtest software and information generated
from it for personal, non-commercial use, through a command line
interface on a personal computer. Your use of this software is subject
to the End User License Agreement, Terms of Use and Privacy Policy at
these URLs:

        https://www.speedtest.net/about/eula
        https://www.speedtest.net/about/terms
        https://www.speedtest.net/about/privacy

==============================================================================

License acceptance recorded. Continuing.

==============================================================================

Ookla collects certain data through Speedtest that may be considered
personally identifiable, such as your IP address, unique device
identifiers or location. Ookla believes it has a legitimate interest
to share this data with internet providers, hardware manufacturers and
industry regulators to help them understand and create a better and
faster internet. For further information including how the data may be
shared, where the data may be transferred and Ookla's contact details,
please see our Privacy Policy at:

       http://www.speedtest.net/privacy

==============================================================================

License acceptance recorded. Continuing.


   Speedtest by Ookla

      Server: Brandl Services GmbH - Pavelsbach (id: 6334)
         ISP: Vodafone Germany
Idle Latency:    17.09 ms   (jitter: 0.94ms, low: 16.70ms, high: 18.24ms)
    Download:   939.88 Mbps (data used: 1.1 GB)
                 19.95 ms   (jitter: 1.59ms, low: 14.01ms, high: 50.66ms)
      Upload:    54.02 Mbps (data used: 28.4 MB)
                 12.68 ms   (jitter: 0.33ms, low: 12.21ms, high: 18.23ms)
 Packet Loss:     0.0%
  Result URL: https://www.speedtest.net/result/c/9af6213a-63b7-4df7-9ff0-5de595325e74
 
  • Like
Reaktionen: DaveR
On my DS218+ it is in English:

Code:
   Speedtest by Ookla

      Server: Plusnet GmbH - Düsseldorf (id: 70877)
         ISP: Deutsche Telekom AG
Idle Latency:    12.97 ms   (jitter: 0.12ms, low: 12.71ms, high: 13.20ms)
    Download:   324.01 Mbps (data used: 382.9 MB)
                 80.36 ms   (jitter: 19.39ms, low: 13.62ms, high: 193.56ms)
      Upload:   106.37 Mbps (data used: 134.5 MB)
                 72.85 ms   (jitter: 9.70ms, low: 12.51ms, high: 121.65ms)
 Packet Loss:     0.0%

Locale is set to "de"

Code:
locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
 
  • Like
Reaktionen: DaveR
That's strange. I expected it to show Deutsch instead of English. Speedtest by Ookla supports 17 languages (including German) on its mobile and desktop applications. Or 19 languages for Speedtest custom.

I spent too many hours today updating my (unpublished) Synology speedtest_internet.sh script so that it:
  1. Also works on Asustor NAS with either bash installed via the Entware app or the Netdata app installed (which includes bash).
  2. Does not depend on English words to parse the output.
 

Anhänge

There is no output, when i run it via CLI?
 
The output appears after speedtest-cli finishes which takes a minute or two. I actually wrote it to be scheduled and send me an email so the time delay isn't an issue.
 
Task Scheduler shows it took 19 seconds (because the script does not "-rm" the container so does not need to download it each time).
1773260099728.png

1773259885142.png
 
Zuletzt bearbeitet:
  • Like
Reaktionen: ctrlaltdelete
Wouldn't it be easier to use the native speedtest cli binary from Ookla?

For example the Linux x86_64 version runs directly on my 925+ and then use the json output to work with:

Code:
root@GalacticaNAS091:/volume1/Temp/Temp/speed# ./speedtest -s 73592 -f json | jq .
{
  "type": "result",
  "timestamp": "2026-03-11T20:55:40Z",
  "ping": {
    "jitter": 2.555,
    "latency": 22.953,
    "low": 20.799,
    "high": 26.847
  },
  "download": {
    "bandwidth": 116908409,
    "bytes": 1128958219,
    "elapsed": 10112,
    "latency": {
      "iqm": 169.022,
      "low": 24.845,
      "high": 597.938,
      "jitter": 58.686
    }
  },
  "upload": {
    "bandwidth": 5579984,
    "bytes": 61748148,
    "elapsed": 11104,
    "latency": {
      "iqm": 67.796,
      "low": 17.527,
      "high": 150.26,
      "jitter": 12.35
    }
  },
  "isp": "Vodafone Germany",
  "interface": {
    "internalIp": "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx",
    "name": "bond0",
    "macAddr": "xx:xx:xx:xx:xx:xx",
    "isVpn": false,
    "externalIp": "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx"
  },
  "server": {
    "id": 73592,
    "host": "ookla.ham-02.testpub.telefonica.de",
    "port": 8080,
    "name": "Telefónica Germany GmbH & Co. OHG",
    "location": "Hamburg",
    "country": "Germany",
    "ip": "2a02:3140:1000:600::2"
  },
  "result": {
    "id": "77565f19-9034-xxxx-xxxx-d6c74f465a17",
    "url": "https://www.speedtest.net/result/c/77565f19-9034-xxxx-xxxx-d6c74f465a17",
    "persisted": true
  }
}

https://www.speedtest.net/apps/cli

https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz
 
  • Like
Reaktionen: DaveR
The AI of Google just told me, that Ookla speedtest-cli doesn't support any localization while running the test.
After the test, the shown URL can be localized for the results,
 
Zuletzt bearbeitet:
  • Like
Reaktionen: DaveR
Wouldn't it be easier to use the native speedtest cli binary from Ookla?

For example the Linux x86_64 version runs directly on my 925+ and then use the json output to work with

I had already looked at the json output hoping it contained the words "Speedtest by, Server, Idle Latency, data used, jitter, high, low, Packet Loss, Result URL" in the user's language. As it doesn't I'd have to translate them myself (which I may do).

I had checked for a Linux binary but only noticed the Ubuntu and Fedora/Centos/Redhat instructions. I didn't see the Linux x86_64 download, or the arm versions.

I was thinking of making it a Synology package. If I do I'd use the Linux x86_64 binary and json output then translate the output into the user's language.
 
The speedtest Linux binary does not need to be run as root so it's perfect for a package.

Not running the script as root means it cannot detect if the script is running from task scheduler but I can work around that.
 

Additional post fields

 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat