ZF-7487: Get "Territory Key" for Country
Description
Last i tried to get some translations for country names, e.g. translate Österreich to Austria. With Zend_Locale all i can do is to use Zend_Locale::getTranslation("AT", "territory", "en-US") but at this point i don't know the AT "Key". To get the key i have to do
$key = array_search("Österreich", Zend_Locale::getTranslationList("territory", "de-AT"));
So it would be nice to have something like
Zend_Locale::getTranslation("Österreich", "territoryKey", "de-AT"); Zend_Locale::getTranslation("Austria", "territoryKey", "en");
Comments
Posted by Rob Allen (rob) on 2012-11-20T20:53:36.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.