Skip to content

[5.x]: Adding matrix blocks: Incorrect translations #14573

@wsydney76

Description

@wsydney76

What happened?

Description

Buttons are labeled with wrong grammatical articles in German:

Matrix field with multiple entry types (cards):

image

Has to be 'Neuer Eintrag'

Matrix field with multiple entry types (inline):

image

Translation missing? Would have to be 'Neuer Block'

Matrix field with single entry type:

image

Has to be 'Neuer Standort' in this case.

  • Keep upper case in place
  • There is no way in German (and probably other languages) to automatically create a correct caption:
    • New location -> Neuer Standort
    • New role -> Neue Rolle
    • New document -> Neues Dokument

Could be 'xyz hinzufügen' (add xyz), like in relational fields.

And another argument to make this configurable.

PS.
And a missing translation here:

image

Steps to reproduce

  1. Create matrix field
  2. Set CP language to German

Expected behavior

Correct language

Actual behavior

Wrong, unprofessional-looking language

Craft CMS version

Craft Solo 5.0.x-dev

PHP version

8.2.13

Operating system and version

Linux 5.15.133.1-microsoft-standard-WSL2

Database type and version

MySQL 8.0.33

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions