Skip to content

uk translation causing errors in admin sites (GenericApp.js:119 Uncaught TypeError: Cannot convert undefined or null to object) #1095

@stevenengland

Description

@stevenengland

Hi there,

a newly created adapter using npx @iobroker/create-adapter@latest with

    "adminUi": "react",
    "tabReact": "yes",

creates adapter files using uk translations in admin/src/app.tsx and admin/src/tab-app.tsx

Currently this will cause a mismatch when the translations from GenericApp, which do not contain the uk entry, are mapped against each other.
grafik

The error thrown is then GenericApp.js:119 Uncaught TypeError: Cannot convert undefined or null to object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions