Closed (duplicate)
Project:
CCK Country
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2012 at 14:05 UTC
Updated:
6 Mar 2012 at 15:38 UTC
The country names in the cck dropdown are always english and cannot be translated through the 'translate inteface' functionality.
Steps to reproduce: install this module with a different language then english.
Comments
Comment #1
Scyther commentedThis is a problem that I havn't solved and I do not have any good idea how to solve it.
The problem is that the Country names are in a cvs file and it is not a good idea to pass a variable in t(), as below.
But if you have and good tips or solutions I am happy to get them!
Comment #2
dagomar commentedWell, I'm not even sure who's at fault here, countries api or cck country. But to display the cck dropdown correctly I changed the function cck_country_allowed_values in cck_country.module to:
this passes all allowed values through t, but it WILL screw things up if countries_api decides to take things through t as well.
Comment #3
Scyther commentedThis should be a issue for Country codes API when I think about it. There is already issues there.
#1190224: Country names are not localized
Comment #4
dagomar commentedYou are right Scyther, thank you!