We are unable to translate Subscriptions field on Subscriber settings. The translation page shows the following warning:

The configuration objects have different language codes so they cannot be translated:
field.field.simplenews_subscriber.simplenews_subscriber.subscriptions: en
field.storage.simplenews_subscriber.subscriptions: und

To reproduce the issue just need to enable Configuration translation module and go to /admin/config/people/simplenews/settings/subscriber/fields/simplenews_subscriber.simplenews_subscriber.subscriptions/translate

Issue fork simplenews-2994925

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

piggito created an issue. See original summary.

piggito’s picture

Status: Active » Needs review
StatusFileSize
new527 bytes

I'm attaching a patch fixing the issue by setting field storage langcode to "en" to match field's langcode.

adamps’s picture

Version: 8.x-1.x-dev » 3.x-dev
adamps’s picture

Status: Needs review » Needs work

Patches need to be for 3.x please. Probably the same patch will work but need to get a "green" test pass on 3.x.

afagioli’s picture

@AdamPS,
what is the plan for this 3.x release?

adamps’s picture

Issue tags: +Needs reroll
davps’s picture

Version: 3.x-dev » 4.x-dev
Issue tags: -Needs reroll

davps’s picture

StatusFileSize
new109.86 KB

Same behaviour on 4.x when trying to translate field simplenews_issue for Newsletter Issue content type: /admin/structure/types/manage/simplenews_issue/fields/node.simplenews_issue.simplenews_issue/translate

-

davps’s picture

Status: Needs work » Needs review
StatusFileSize
new71.42 KB

Results with fixes

-

  • adamps committed cb0e26e0 on 4.x authored by davps
    Issue #2994925 by davps, piggito: Subscriptions field langcode and...
adamps’s picture

Status: Needs review » Fixed
adamps’s picture

Thanks

Status: Fixed » Closed (fixed)

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