Changing the order of country_codes voids drupal translations

Created on 8 March 2024, 9 months ago
Updated 4 April 2024, 8 months ago

When changing the order of country codes in admin/structure/webform/options/manage/country_codes/edit the drupal translations stop working. I looked a bit at the code following β†’ and it's stop going through getStandardList() to get the countries, it would seems it now uses the config, where the yml file changed from options: "" to options: "list of countries".
Therefore the only way I've found to show proper country's translation is to translate each country in new languages.

πŸ› Bug report
Status

Closed: won't fix

Version

6.2

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain uridrupal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @uridrupal
  • Status changed to Closed: won't fix 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    This is working as designed. Once you edit the list, you will need to translate it. You might be able to write some custom code to translate your list.

Production build 0.71.5 2024