Problem/Motivation

We noticed in the User interface translation that "Yes" would get translated to "No". After debugging we found that it is caused by a mismatch of ids in the config.

The status filter in this config has ids 2 and 3:
https://git.drupalcode.org/project/poll/-/blob/2.0.x/config/install/view...

While our config has 1 and 2

            group_items:
              1:
                title: Ja
                operator: '='
                value: '1'
              2:
                title: Nee
                operator: '='
                value: '0'

The LocaleConfigSubscriber would use these configs to determine translations and would match Yes with Nee (No).

The issue seems to be introduced in this change: https://git.drupalcode.org/project/poll/-/commit/8b8709f43e550c7912a337f...

Suggestion would be to revert the ids back to 1 and 2

Issue fork poll-3500433

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

dave.mentens created an issue. See original summary.

bramdriesen’s picture

Status: Active » Fixed

Merged, thanks Dave!

bramdriesen’s picture

Version: 2.0.0-alpha2 » 2.0.x-dev

Status: Fixed » Closed (fixed)

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