Skip to content

[Bug]: Unable to configure i18n for nested properties #1804

Description

@Raincarnator

Contact Details

korita@reincarnatey.net

What happened?

I tried to configure i18n for nested properties as described in the official documentation.

nested: 'Zagniezdzone',
// this is how nested properties (for nested schemas) can be provided
'nested.width': 'Szerokość',

But this didn't work, nested.width cannot be processed correctly; it does not appear in the final translation object of i18next.

If you comment out nested: 'Zagniezdzone', only then can nested.width be configured successfully. It seems that one property conflicts with any of its nested properties.

Bug prevalence

Inevitable

AdminJS dependencies version

"adminjs": "^7.8.17"

What browsers do you see the problem on?

Chrome

Relevant log output

Relevant code that's giving you issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions