Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
thank you very much for this great module. I face a problem now and hope you could help me with this: I created a big country list where the user should be able to to select one with a CCK text field. The possible values are set by PHP like this example for countries in Africa:
return array(
'0' => t('all'),
'1' => t('Algeria'),
'2' => t('Angola'),
'3' => t('Benin'),
'4' => t('Botswana'),
'5' => t('Burkina Faso'),
'6' => t('Burundi'),
'7' => t('Cape Verde'),
'8' => t('Central African Republik'),
'9' => t('Chad'),
'10' => t('Comoros'),
...
);
I created the array in a way that the countries are in alphabetical order in English. But when I translate the countries to German for example "Chad" becomes "Tschad". The alphabetical order gets lost. Is there a way for me the order the option values in alphabetical order after they are translated?
Best,
Tobias