Skip to content

Translate "Paragraph" item in the Heading toolbar #452

@nikolenko-dmitriy

Description

@nikolenko-dmitriy

Description

I see that for the Dutch language, all Heading {level} items are correctly translated to Kop {level}, but the Paragraph item always stays in English.

It seems that it does not use the Craft::t() method for translation on this line:
https://github.com/craftcms/ckeditor/blob/4.x/src/Field.php#L1001

Even if I add a translation for 'Paragraph' in translations/nl/ckeditor.php, it has no effect.

Image

Expected result

Paragraph should be translated using Craft::t() just like the heading items, so the UI appears fully localized.

Additional info

  • Craft CMS version: 5.8.11
  • CKEditor plugin version: 4.9.0
  • PHP version: 8.2.22
  • Database: MySQL 8.4.6

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