Editor not able to open .docx and .xlsx when personal language in Nextcloud is set to Danish

Nextcloud set up with Euro-office.
Nextcloud → Personal → Language & Locale → Language: Dansk
(Same error with ā€œNorvegianā€ language.)

When opening a .docx or .xlsx (didn’t try other formats), the built in editor loads, ā€œloadingā€ is shown briefly, and then only a white square window in the middle.
When I change Nextcloud → Personal → Language & Locale → Language from Danish to English, I get the message ā€œloadingā€ and the .docx or .xlsx opens fully, and I’m able to edit and save.

Analyzed and troubleshooted using Claude:

  • Error: TypeError: Cannot read properties of undefined (reading ā€˜replace’) i Y5.applyLicense (documenteditor/mobile/dist/js/app.js)
  • Version: 9.3.4-1c394de8224aa599af6623d1a335004d
  • Environment: Nextcloud Android 35.1.0, Nextcloud-connector eurooffice 11.0.6, userlanguage da
  • Trigger: only mobil-editor, desktop-editor in browser works

Did anyone experience the same problem with language settings other than English?

I reported it on Euro-office Gtihub too:

/var/log/euro-office/documentserver/docservice/out.log while opening a .docx
Line: 884:27438
userAgent: Mozilla/5.0 (Android 17) Mobile Nextcloud-android/35.1.0
platform: Linux aarch64
isLoadFullApi: true
isDocumentLoadComplete: true
DocumentInfo:
Selection: false
performance.memory: {ā€œtotalJSHeapSizeā€:148000000,ā€œusedJSHeapSizeā€:116000000,ā€œjsHeapSizeLimitā€:3140000000}
StackTrace: TypeError: Cannot read properties of undefined (reading ā€˜replace’)
at Y5.applyLicense (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/web-apps/apps/documenteditor/mobile/dist/js/app.js:884:27438)
at asc_docs_api.u (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/web-apps/apps/documenteditor/mobile/dist/js/app.js:884:20800)
at asc_docs_api.sendEvent (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1766722)
at baseEditorsApi.onDocumentContentReady (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1513541)
at asc_docs_api.onDocumentContentReady (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1942497)
at https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1944392
at CCollaborativeEditingBase.Apply_Changes (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1348412)
at asc_docs_api._openDocumentEndCallback (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1944157)
at Object.handleChanges (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:787791)
at asc_docs_api._openDocumentEndCallback (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1943746)
[2026-11-20T15:55:12.824] [ERROR] [localhost] [1561760018] [octqctx9xz7j_ulrik5] nodeJS - clientLog: changesError: Error: Uncaught TypeError: Cannot read properties of undefined (reading ā€˜replace’)
Script: https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/web-apps/apps/documenteditor/mobile/dist/js/app.js
Line: 884:27438
userAgent: Mozilla/5.0 (Android 17) Mobile Nextcloud-android/35.1.0
platform: Linux aarch64
isLoadFullApi: true
isDocumentLoadComplete: true
DocumentInfo:
Selection: false
performance.memory: {ā€œtotalJSHeapSizeā€:148000000,ā€œusedJSHeapSizeā€:116000000,ā€œjsHeapSizeLimitā€:3140000000}
StackTrace: TypeError: Cannot read properties of undefined (reading ā€˜replace’)
at Y5.applyLicense (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/web-apps/apps/documenteditor/mobile/dist/js/app.js:884:27438)
at asc_docs_api.u (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/web-apps/apps/documenteditor/mobile/dist/js/app.js:884:20800)
at asc_docs_api.sendEvent (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1766722)
at baseEditorsApi.onDocumentContentReady (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1513541)
at asc_docs_api.onDocumentContentReady (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1942497)
at https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1944392
at CCollaborativeEditingBase.Apply_Changes (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1348412)
at asc_docs_api._openDocumentEndCallback (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1944157)
at Object.handleChanges (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:787791)
at asc_docs_api._openDocumentEndCallback (https://eurooffice.mydomain.dk/9.3.4-1c394de8224aa599af6623d1a335004d/sdkjs/word/sdk-all-min.js:7:1943746)