Thank you for your attention.
This problem has already been fixed within the trunk.
Greetings
Thomas Weidner, I18N Team Leader
http://www.thomasweidner.com----- Original Message -----
From: "Adam Jensen" <
Adamj@...>
To: <
fw-i18n@...>
Sent: Wednesday, January 30, 2008 4:59 PM
Subject: [fw-i18n] getQuestion() returning empty array elements
Hello!
I'm sorry if this has already been addressed, but I couldn't find it on JIRA
or this list, so I figured I'd ask...
I've been using $locale->getQuestion() to retrieve localized yes and no
values; however, the latest trunk (and the preview release) seems to not be
doing this correctly. The following code:
[code]
$locale = new Zend_Locale('en_US');
print_r($locale->getQuestion());
[/code]
...produces the following result:
[code]
Array
(
[yes] =>
[yesarray] => Array
(
[0] =>
)
[no] =>
[noarray] => Array
(
[0] =>
)
[yesexpr] => ^([]?)
[noexpr] => ^([]?)
)
[/code]
Naturally this is not what I expected :) Has something changed recently
that would cause this?
If you'd like, I can create a JIRA issue for it as well, but I thought I'd
check on the list just to make sure it hasn't already been addressed.
Thanks!
Adam Jensen