If you need support for Nightscout, PLEASE DO NOT FILE A TICKET HERE
For support, please post a question to the "CGM in The Cloud" group in Facebook
(https://www.facebook.com/groups/cgminthecloud) or visit the WeAreNotWaiting Discord at https://discord.gg/zg7CvCQ
Describe the bug
In the DEV Branch, nightscout does not start if the Language is Spanish (es_ES)
To Reproduce
Steps to reproduce the behavior:
- Choose DEV Branch
- Set language=es in config
- start docker container
- See error
Expected behavior
Node.js v22.16.0
API_SECRET has 71 bits of entropy
<anonymous_script>:707
"virtAsstLaunch":"¿Qué quieres saber de Nightscout?"
^
SyntaxError: Expected ',' or '}' after property value in JSON at position 45950 (line 707 column 5)
at JSON.parse ()
at Function.loadLocalization (/opt/app/lib/language.js:153:33)
at Object. (/opt/app/lib/server/server.js:33:10)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
Screenshots
If applicable, add screenshots to help explain your problem.
Your setup information
- Nightscout DEV
- "LANGUAGE=es",
- "NODE_VERSION=16.16.0",
- "version": "15.0.4",
Additional context
Looks for unescapted/wrong charset for es_ES on
"virtAsstLaunch":"¿Qué quieres saber de Nightscout?"
The Master Version works fine.
If you need support for Nightscout, PLEASE DO NOT FILE A TICKET HERE
For support, please post a question to the "CGM in The Cloud" group in Facebook
(https://www.facebook.com/groups/cgminthecloud) or visit the WeAreNotWaiting Discord at https://discord.gg/zg7CvCQ
Describe the bug
In the DEV Branch, nightscout does not start if the Language is Spanish (es_ES)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Node.js v22.16.0
API_SECRET has 71 bits of entropy
<anonymous_script>:707
"virtAsstLaunch":"¿Qué quieres saber de Nightscout?"
^
SyntaxError: Expected ',' or '}' after property value in JSON at position 45950 (line 707 column 5)
at JSON.parse ()
at Function.loadLocalization (/opt/app/lib/language.js:153:33)
at Object. (/opt/app/lib/server/server.js:33:10)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
Screenshots
If applicable, add screenshots to help explain your problem.
Your setup information
Additional context
Looks for unescapted/wrong charset for es_ES on
"virtAsstLaunch":"¿Qué quieres saber de Nightscout?"
The Master Version works fine.