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
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
Comment #4
bramdriesenMerged, thanks Dave!
Comment #5
bramdriesen