Problem/Motivation

Incorrect translation for form labels when swich languages. It happens because some of hook_entity_form_display_alter have save process for form displays and it saves translated string to the default configuration.

Steps to reproduce

- Enable social_tagging module
- Enable social_content_translation module
- Add additional language
- Add translation for any field group label
- Go to any add/edit content form where used translated field group label
- Switch to add language
- Switch back to the default language

Proposed resolution

Override language for configurations before saving.

Comments

tBKoT created an issue. See original summary.

ribel’s picture

Title: Incorrect translation for form labels » Update possibly translated field group labels
Component: Code (back-end) » Translations
Status: Active » Reviewed & tested by the community

Issue was fixed here: https://github.com/goalgorilla/open_social/pull/2450
Will be included in release 10.2.3

  • tBKoT authored 35a2786 on 10.3.x
    Issue #3226318 by tBKoT: Update possibly translated field group labels...
navneet0693’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.