Can we remove field's own translatable setting from UI?

Created on 20 January 2013, over 12 years ago
Updated 25 April 2025, about 6 hours ago

Problem/Motivation

Now after enable MULTILINGUAL modules, i.e, Content Translation, field will have its own translatable setting.

After add content for a field, we get this field setting.

The problem is in 'admin/config/regional/content-language', we get field translatable settings too. This could add some confusions. User may not know which UI should be used. And if user doesn't enable content type translatable here, even user has enabled a specifc field translatable in field's setting UI, its setting will be useless. That field can't be translated because the entity/bundle it attached is not translatable.

A more serious problem is, every field UI translatable setting is shared across all field instances. If you go to 'admin/structure/types/manage/article/fields/body/field-settings' and make any changes for Field translation, this setting will be synchronized at 'admin/structure/types/manage/page/fields/body/field-settings', simply because same field body is used in different content types, or field instances share same field translation setting.

See relevant issue at #1893568: Make each field instance have its own translatable property, instead of sharing translatable property with others. β†’

Proposed resolution

Remove field's own translation setting, i.e., remove
function translation_entity_form_field_ui_field_settings_form_alter(array &$form, array &$form_state, $form_id) { }
and remove corresponding field translation page, i.e,
'admin/config/regional/translation_entity/translatable/' . $field_name,

User interface changes

Remove field's own translation setting and menu item 'admin/config/regional/translation_entity/translatable/' . $field_name,

API changes

No api changes

Related issues
#1893568: Make each field instance have its own translatable property, instead of sharing translatable property with others. β†’
#1831608: Show or hide the "Make field translatable" checkbox on the add field form depending on translatability β†’

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

field_ui.module

Created by

πŸ‡¨πŸ‡³China smiletrl

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024