Can't translate Smart Date Formats

Created on 8 May 2020, over 5 years ago
Updated 10 June 2024, about 1 year ago

On a Smart Date Format you can set a language, but this doesn't actually translate it. The settings persist between languages, including the language set in the dropdown.

According to Drupal StackEchange you need the translatable = TRUE line in your @ContentEntityType annotation. You also need the setTranslatable(TRUE) line in your BaseFieldDefinition::create fields

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇨🇦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024