Issues

ZF-7487: Get "Territory Key" for Country

Issue Type: New Feature Created: 2009-08-05T05:35:30.000+0000 Last Updated: 2012-11-20T20:53:36.000+0000 Status: Closed Fix version(s): Reporter: Markus (rockaut) Assignee: None Tags: - Zend_Locale

Related issues: Attachments:

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts