If you enable the translation_entity module, go to admin/config/regional/content-language, and check all of the boxes there you'll get the following two errors:

At least one field needs to be translatable to enable Website feedback for translation.
At least one field needs to be translatable to enable Tags for translation.

Tags and Contact categories do at least have a "title" field, so I'm not sure what it's barking about (I guess because they're not "real" fields), but in any case it seems like we should not be offering people options here that they cannot actually use.

Therefor, closing as cannot reproduce.

Comments

webchick’s picture

Title: Can't translate tags or contact messages » Can't translate taxonomy terms or contact messages

More accurate.

plach’s picture

Title: Translation settings are available also for entity types not supporting translation » Can't translate taxonomy terms or contact messages
Priority: Normal » Major
Issue tags: -Usability

Tags and Contact categories do at least have a "title" field, so I'm not sure what it's barking about (I guess because they're not "real" fields),

Yep, exactly :)

but in any case it seems like we should not be offering people options here that they cannot actually use.

Well, once we complete the migration to the Entity Field API, labels will be translatable hence this specific problem would disappear. However this might not always be the case, since the may actually be entity types where no field can be enabled for translation, hence we need to account for that. OTOH the language settings would still be there, so I guess we need to just avoid defining the translation settings (or gray them out), not sure about this. Perhaps we also need a warning message or something similar.

plach’s picture

Title: Can't translate taxonomy terms or contact messages » Translation settings are available also for entity types not supporting translation
webchick’s picture

Priority: Major » Normal

Ok, if this is just a temporary state, then this just comes down to a bit more robustness in generating the form, so downgrading to normal.

webchick’s picture

Issue tags: +Usability

Also, tagging Usability since they may have an opinion on the approach used here.

plach’s picture

Title: Can't translate taxonomy terms or contact messages » Translation settings are available also for entity types not supporting translation
Priority: Major » Normal
Issue tags: +Usability

Yes, we definitely need UX folks here.

gábor hojtsy’s picture

For taxonomy terms #1498660: Refactor taxonomy entity properties to multilingual is the issue to introduce translatable properties. That is being held up by the Entity NG conversions (currently focusing on nodes). This is targeted to get ongoing focus through the integration phase of Drupal 8's cycle. For contact stuff, if those are stored content entities now (?) then they should have their Entity NG conversion as well with their property conversion following :)

plach’s picture

I was wondering that too: I didn't see a storage controller for contact messages so I guess we should mark it untranslatable as soon as we sort #1446382: Need a reliable way to determine if a specific bundle for an entity type is translatable out and avoid listing it in the settings page.

yesct’s picture

would it still have language settings, but not translatable?
(language and translation settings are both on that same page)

Also, I believe I noticed while testing that if go to the entity itself (like taxonomy vocabulary) can enable translation even though there are not fields that can have translation enabled. Then that causes problems when coming to the nice language settings page.

Can we allow entities to be marked translatable even if they do not (yet) have fields that can be translatable?
Or... we need to add the same check in the other place where the entity is.

plach’s picture

Well, if contact messages are not storable there's no sense to specify a language for them I guess. We probably need a generic API to tell if an entity has multilingual support.

And yes, we need the same checks in both places.

gábor hojtsy’s picture

@YesCT: in terms of vocabularies *themselves*, they are config entities, so they are not translatable with this system (and do not show up for configuration). For taxonomy terms, they are content entities and should get their properties translatable in #1498660: Refactor taxonomy entity properties to multilingual. It is still very much possible that there are content entities that do not have language/translation support.

gábor hojtsy’s picture

Component: translation_entity.module » content_translation.module

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

quietone’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative
StatusFileSize
new24.17 KB

I tested this on 8.9.x and was not able to reproduce the error.

On a fresh install of 8.9.x I enabled content_translation, added a language and then ticked all the boxes available at admin/config/regional/content-language, No errors or warning were displayed and nothing in the logs.

The content types that are not translatable have a clear message on the page such as this one for the contact message