myspeed icon indicating copy to clipboard operation
myspeed copied to clipboard

Missing da.json (Dansk locale) triggers infinite re-rendering loop

Open elphizu opened this issue 11 months ago • 0 comments

General

  • [x] I have updated to the latest version of MySpeed.
  • [x] My bug has not been reported yet.

The Bug

Selecting the Dansk (da) language causes an infinite re-render loop.

The repository does not contain the required da.json translation file. When the application attempts to resolve the missing locale, it repeatedly retries loading or state-updating, resulting in continuous re-rendering.

Steps to Reproduce:

  • Start the application.
  • Switch language to Dansk (da).
  • Observe continuous re-rendering after reloading.

Expected Behavior

  • Danish translations load successfully

Root Cause

  • da is listed as a supported language.
  • da.json is missing from the translations directory.

What device are you using to access the page?

In the browser

Which operating system is your MySpeed instance running on?

Linux

elphizu avatar Jan 04 '26 13:01 elphizu