1. Installed v3 beta5
2. Installed countries_api module having a German translation
3. Created a select field with country and prefiled with countries
4. Opened the webform
5. Countries are not shown in German

Comments

hass’s picture

Title: Countries in select options are not translated » Countries in select options are not translated and not sorted

Additionally the countries are not sorted by alphabeth. This makes the selection for users really hard!

quicksketch’s picture

Project: Webform » Country codes API
Version: 6.x-3.0-beta5 » 6.x-1.1

Both the country list and the order is provided by Countries API, so this needs to be corrected on their side.

mrfelton’s picture

Status: Active » Fixed

A German translation is now included with the latest -dev code in git.

hass’s picture

Status: Fixed » Active

@mrfelton: Delete the POT files, please. We are not adding POT files to Git any longer and we remove all if there are any. Translations are all on l.d.o. The issue here is a missing t() and the ordering. Not a question of POT files.

Scyther’s picture

Version: 6.x-1.1 » 6.x-1.x-dev

POT files are gone in the dev verions.

I can not see any solution how to add t() to the country names in the cvs file. So if anyone has any idea that might work please submit it here.

The sort problem will be fixed.

Scyther’s picture

Title: Countries in select options are not translated and not sorted » Countries are not sorted in countries_api_get_list.
Status: Active » Fixed

Countries in the list from countries_api_get_list is now sorted by printable_name. Fixed in D6 dev version in this commit 1e6162a.

The translations problem is in a own issue: #1190224: Country names are not localized

Status: Fixed » Closed (fixed)

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