<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16194</id>
	<title>Nabble - Zend I18N/Locale</title>
	<updated>2009-11-14T08:54:10Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Zend-I18N-Locale-f16194.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend-I18N-Locale-f16194.html" />
	<subtitle type="html">Zend &lt;a href=&quot;http://framework.zend.com/wiki/x/Lx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;I18N/Locale&lt;/a&gt;</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26351758</id>
	<title>Re: [zf-contributors] I18N Webinar</title>
	<published>2009-11-14T08:54:10Z</published>
	<updated>2009-11-14T08:54:10Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">Both points taken
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Robin Skoglund&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26351758&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robinsk@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;Thomas Weidner&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26351758&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weidner@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26351758&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Saturday, November 14, 2009 1:57 PM
&lt;br&gt;Subject: Re: [zf-contributors] I18N Webinar
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 14, 2009 at 13:53, Thomas Weidner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26351758&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weidner@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; What do you want to hear in this webinar ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Don't be shy and just reply :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt;&amp;gt; Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Best practices
&lt;br&gt;&amp;gt; * How to deal with plurals 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/I18N-Webinar-tp26349802p26351758.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26349823</id>
	<title>Re: [zf-contributors] I18N Webinar</title>
	<published>2009-11-14T04:57:45Z</published>
	<updated>2009-11-14T04:57:45Z</updated>
	<author>
		<name>Robin Skoglund</name>
	</author>
	<content type="html">On Sat, Nov 14, 2009 at 13:53, Thomas Weidner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26349823&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weidner@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; What do you want to hear in this webinar ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Don't be shy and just reply :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt; Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* Best practices
&lt;br&gt;* How to deal with plurals
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/I18N-Webinar-tp26349802p26349823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26349802</id>
	<title>I18N Webinar</title>
	<published>2009-11-14T04:53:46Z</published>
	<updated>2009-11-14T04:53:46Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">Hy ZF interested community,
&lt;br&gt;&lt;br&gt;I am preparing an webinar about I18N.
&lt;br&gt;This one will be a speak about Translation and all what's related to this 
&lt;br&gt;task.
&lt;br&gt;&lt;br&gt;So here comes your part:
&lt;br&gt;Which things do you want to know ?
&lt;br&gt;Which informations do you miss from manual or other sources ?
&lt;br&gt;What do you want to hear in this webinar ?
&lt;br&gt;&lt;br&gt;Don't be shy and just reply :-)
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/I18N-Webinar-tp26349802p26349802.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26021270</id>
	<title>Re: Zend_Date locale aware</title>
	<published>2009-10-22T22:58:47Z</published>
	<updated>2009-10-22T22:58:47Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">$date-&amp;gt;getDate()-&amp;gt;toString(Zend_Date::DATES) did the job!&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks to all again.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Will setting cache speedup this call?&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 22, 2009 at 10:19 PM, Саша Стаменковић &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26021270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umpirsky@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
@Rocco Results with non localized date :(&lt;br&gt;@Matthew Thx will try.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 22, 2009 at 8:01 PM, Thomas Weidner &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26021270&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weidner@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;

Please read the manual carefully.&lt;br&gt;
Especially the options for the toString() method. There is a complete chapter which describes all 100 possible variants.&lt;br&gt;
&lt;br&gt;
Greetings&lt;br&gt;
Thomas Weidner, I18N Team Leader, Zend Framework&lt;br&gt;
&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
----- Original Message ----- From: &amp;quot;umpirsky&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26021270&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umpirsky@...&lt;/a&gt;&amp;gt;&lt;br&gt;
To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26021270&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;&lt;br&gt;
Sent: Thursday, October 22, 2009 7:09 PM&lt;br&gt;
Subject: [fw-i18n] Zend_Date locale aware&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;
&lt;br&gt;
Hi.&lt;br&gt;
&lt;br&gt;
I have locale stored in registry&lt;br&gt;
&lt;br&gt;
Zend_Registry::set(&amp;#39;Zend_Locale&amp;#39;, new Zend_Locale(&amp;#39;sr_RS&amp;#39;));&lt;br&gt;
&lt;br&gt;
and I want to implement view helper to format dates, sth like:&lt;br&gt;
&lt;br&gt;
class Umpirsky_View_Helper_Date extends Zend_View_Helper_Abstract {&lt;br&gt;
   public function date($date) {&lt;br&gt;
   $date = new Zend_Date($date);&lt;br&gt;
       return $date-&amp;gt;getDate()-&amp;gt;__toString();&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
But this outputs date with time part, like:&lt;br&gt;
05.10.2009. 23.00.00&lt;br&gt;
and I want only 05.10.2009 part. Date and time are localized, and that is&lt;br&gt;
ok, but I want just date part.&lt;br&gt;
&lt;br&gt;
How can i do this?&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Sasa Stamenkovic.&lt;br&gt;
-- &lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&lt;/a&gt;&lt;br&gt;
Sent from the Zend I18N/Locale mailing list archive at Nabble.com. &lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date-locale-aware-tp26013714p26021270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26016526</id>
	<title>Re: Zend_Date locale aware</title>
	<published>2009-10-22T13:19:11Z</published>
	<updated>2009-10-22T13:19:11Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">@Rocco Results with non localized date :(&lt;br&gt;@Matthew Thx will try.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 22, 2009 at 8:01 PM, Thomas Weidner &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26016526&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weidner@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Please read the manual carefully.&lt;br&gt;
Especially the options for the toString() method. There is a complete chapter which describes all 100 possible variants.&lt;br&gt;
&lt;br&gt;
Greetings&lt;br&gt;
Thomas Weidner, I18N Team Leader, Zend Framework&lt;br&gt;
&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
----- Original Message ----- From: &amp;quot;umpirsky&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26016526&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umpirsky@...&lt;/a&gt;&amp;gt;&lt;br&gt;
To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26016526&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;&lt;br&gt;
Sent: Thursday, October 22, 2009 7:09 PM&lt;br&gt;
Subject: [fw-i18n] Zend_Date locale aware&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Hi.&lt;br&gt;
&lt;br&gt;
I have locale stored in registry&lt;br&gt;
&lt;br&gt;
Zend_Registry::set(&amp;#39;Zend_Locale&amp;#39;, new Zend_Locale(&amp;#39;sr_RS&amp;#39;));&lt;br&gt;
&lt;br&gt;
and I want to implement view helper to format dates, sth like:&lt;br&gt;
&lt;br&gt;
class Umpirsky_View_Helper_Date extends Zend_View_Helper_Abstract {&lt;br&gt;
   public function date($date) {&lt;br&gt;
   $date = new Zend_Date($date);&lt;br&gt;
       return $date-&amp;gt;getDate()-&amp;gt;__toString();&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
But this outputs date with time part, like:&lt;br&gt;
05.10.2009. 23.00.00&lt;br&gt;
and I want only 05.10.2009 part. Date and time are localized, and that is&lt;br&gt;
ok, but I want just date part.&lt;br&gt;
&lt;br&gt;
How can i do this?&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Sasa Stamenkovic.&lt;br&gt;
-- &lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&lt;/a&gt;&lt;br&gt;
Sent from the Zend I18N/Locale mailing list archive at Nabble.com. &lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date-locale-aware-tp26013714p26016526.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26014503</id>
	<title>Re: Zend_Date locale aware</title>
	<published>2009-10-22T11:01:34Z</published>
	<updated>2009-10-22T11:01:34Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">Please read the manual carefully.
&lt;br&gt;Especially the options for the toString() method. There is a complete 
&lt;br&gt;chapter which describes all 100 possible variants.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;umpirsky&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26014503&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umpirsky@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26014503&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, October 22, 2009 7:09 PM
&lt;br&gt;Subject: [fw-i18n] Zend_Date locale aware
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have locale stored in registry
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Zend_Registry::set('Zend_Locale', new Zend_Locale('sr_RS'));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and I want to implement view helper to format dates, sth like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class Umpirsky_View_Helper_Date extends Zend_View_Helper_Abstract {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;public function date($date) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$date = new Zend_Date($date);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return $date-&amp;gt;getDate()-&amp;gt;__toString();
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But this outputs date with time part, like:
&lt;br&gt;&amp;gt; 05.10.2009. 23.00.00
&lt;br&gt;&amp;gt; and I want only 05.10.2009 part. Date and time are localized, and that is
&lt;br&gt;&amp;gt; ok, but I want just date part.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How can i do this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Sasa Stamenkovic.
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date-locale-aware-tp26013714p26014503.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26013714</id>
	<title>Zend_Date locale aware</title>
	<published>2009-10-22T10:09:03Z</published>
	<updated>2009-10-22T10:09:03Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I have locale stored in registry 
&lt;br&gt;&lt;br&gt;Zend_Registry::set('Zend_Locale', new Zend_Locale('sr_RS'));
&lt;br&gt;&lt;br&gt;and I want to implement view helper to format dates, sth like:
&lt;br&gt;&lt;br&gt;class Umpirsky_View_Helper_Date extends Zend_View_Helper_Abstract {
&lt;br&gt;&amp;nbsp; &amp;nbsp; public function date($date) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	$date = new Zend_Date($date);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $date-&amp;gt;getDate()-&amp;gt;__toString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;But this outputs date with time part, like:
&lt;br&gt;05.10.2009. 23.00.00
&lt;br&gt;and I want only 05.10.2009 part. Date and time are localized, and that is ok, but I want just date part.
&lt;br&gt;&lt;br&gt;How can i do this?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Sasa Stamenkovic.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date-locale-aware-tp26013714p26013714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25945400</id>
	<title>Localising Percentages</title>
	<published>2009-10-18T03:05:48Z</published>
	<updated>2009-10-18T03:05:48Z</updated>
	<author>
		<name>Simon Corless</name>
	</author>
	<content type="html">Hopefully you can help I used to use the following code prior to 1.9.3 to format a percentage using the locale, now however it just seems to return the number (with precision), has anything changed or is there a better way?
&lt;br&gt;&lt;br&gt;I have used both getNumber and toNumber and the format being returned from getTranslation seems to be correct (#,##0%).
&lt;br&gt;&lt;br&gt;return Zend_Locale_Format::getNumber(15.00, array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'precision' =&amp;gt; 2,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'number_format' =&amp;gt; $this-&amp;gt;_locale-&amp;gt;getTranslation(null, 'PercentNumber'),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'locale' =&amp;gt; $this-&amp;gt;_locale,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ));
&lt;br&gt;&lt;br&gt;Thanks for your time.
&lt;br&gt;Simon&lt;div class=&quot;signature&quot;&gt;Simon
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ajb007.co.uk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ajb007.co.uk/&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Localising-Percentages-tp25945400p25945400.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25857107</id>
	<title>Re: Issue with ISO date validation</title>
	<published>2009-10-12T07:52:18Z</published>
	<updated>2009-10-12T07:52:18Z</updated>
	<author>
		<name>MrZogs</name>
	</author>
	<content type="html">Pádraic,
&lt;br&gt;&lt;br&gt;Thanks for your reply.
&lt;br&gt;Just tried it with:
&lt;br&gt;&lt;br&gt;$date = '2009-10-08T20:02:54+01:00'
&lt;br&gt;&lt;br&gt;but to to avail..
&lt;br&gt;&lt;br&gt;Any other suggestions?
&lt;br&gt;&lt;br&gt;Rocco
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Pádraic Brady wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;It is an ISO date as far as I can tell. It does have one subtle issue though if you are sending this between servers - it contains no timezone data. As a result, it would always be assumed to be a time within the local timezone for the current server. This is a guess, but does it pass validation if you add a timezone offset? If you know for sure it is UTC, just append &amp;quot;Z&amp;quot;, otherwise an offset such as -05:00 (the offset from UTC to EST). Remember, without a timezone offset, the date is only good for the server generating it.
&lt;br&gt;&lt;br&gt;Paddy
&lt;br&gt;&lt;br&gt;&amp;nbsp;Pádraic Brady
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://blog.astrumfutura.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.astrumfutura.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.survivethedeepend.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.survivethedeepend.com&lt;/a&gt;&lt;br&gt;OpenID Europe Foundation Irish Representative
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;________________________________
&lt;br&gt;From: MrZogs &amp;lt;r.bruyn@iampro.nl&amp;gt;
&lt;br&gt;To: fw-i18n@lists.zend.com
&lt;br&gt;Sent: Mon, October 12, 2009 9:24:02 AM
&lt;br&gt;Subject: [fw-i18n] Issue with ISO date validation
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi all,
&lt;br&gt;&lt;br&gt;I’m having some issues with validating a date using Zend_Validate_Date and
&lt;br&gt;was hoping if anyone could shed some light on the matter.
&lt;br&gt;&lt;br&gt;Situation is as follows:
&lt;br&gt;1) &amp;nbsp; &amp;nbsp;Javascript application send a date (along with some other data) to server
&lt;br&gt;2) &amp;nbsp; &amp;nbsp;Server needs to validate date before storing
&lt;br&gt;&lt;br&gt;The date being sent is formatted like:
&lt;br&gt;2009-10-08T20:02:54
&lt;br&gt;This is an ISO date as far as I can tell.. (please correct me if I’m wrong)
&lt;br&gt;&lt;br&gt;So I have a validator set up as follows:
&lt;br&gt;$format = Zend_Date::ISO_8601;
&lt;br&gt;$v = new Zend_Validate_Date(array('format' =&amp;gt; $format));
&lt;br&gt;&lt;br&gt;Unfortunately,
&lt;br&gt;$v-&amp;gt;isValid($date);
&lt;br&gt;Returns false
&lt;br&gt;&lt;br&gt;So I’ve been digging a bit and found that it fails in
&lt;br&gt;Zend_Date::isDate
&lt;br&gt;on line 4600 (latest trunk) where it fails to parse the input date with the
&lt;br&gt;given format.
&lt;br&gt;I figured out that this happens because when you specify ISO as format it
&lt;br&gt;uses:
&lt;br&gt;‘dd mm yy’
&lt;br&gt;as token to parse the date. Which obviously fails since the provided date
&lt;br&gt;has a different format.
&lt;br&gt;&lt;br&gt;Now I can easily solve my initial problem by using a different format to
&lt;br&gt;check against. But I’m curious
&lt;br&gt;why it behaves this way. Since (it think) one would expect that if you
&lt;br&gt;provide an ISO date, and tell the
&lt;br&gt;validator to validate against ISO, it should pass validation. 
&lt;br&gt;Or am I just missing something?
&lt;br&gt;&lt;br&gt;I’ve put a small snippet on pastebin with an example to illustrate my
&lt;br&gt;problem.
&lt;br&gt;&lt;a href=&quot;http://pastebin.com/m17450dc1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m17450dc1&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://pastebin.com/m17450dc1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m17450dc1&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Rocco Bruyn
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/Issue-with-ISO-date-validation-tp25852083p25852083.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Issue-with-ISO-date-validation-tp25852083p25852083.html&lt;/a&gt;&lt;br&gt;Sent from the Zend I18N/Locale mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;Pádraic Brady
&lt;br&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://blog.astrumfutura.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.astrumfutura.com&lt;/a&gt;&lt;br&gt;Free Zend Framework Book: &lt;a href=&quot;http://www.survivethedeepend.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.survivethedeepend.com&lt;/a&gt;&lt;br&gt;OpenID Europe Foundation - Irish Representative
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issue-with-ISO-date-validation-tp25852083p25857107.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25856716</id>
	<title>Re: Issue with ISO date validation</title>
	<published>2009-10-12T07:24:11Z</published>
	<updated>2009-10-12T07:24:11Z</updated>
	<author>
		<name>Pádraic Brady</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;It is an ISO date as far as I can tell. It does have one subtle issue though if you are sending this between servers - it contains no timezone data. As a result, it would always be assumed to be a time within the local timezone for the current server. This is a guess, but does it pass validation if you add a timezone offset? If you know for sure it is UTC, just append &quot;Z&quot;, otherwise an offset such as -05:00 (the offset from UTC to EST). Remember, without a timezone offset, the date is only good for the server generating it.&lt;br&gt;&lt;br&gt;Paddy&lt;br&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 191);&quot;&gt;&lt;font style=&quot;font-family: times new roman,new york,times,serif;&quot; size=&quot;3&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Pádraic Brady&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;font style=&quot;font-family: times
 new roman,new york,times,serif;&quot; size=&quot;3&quot;&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://blog.astrumfutura.com&quot;&gt;http://blog.astrumfutura.com&lt;/a&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.survivethedeepend.com&quot;&gt;http://www.survivethedeepend.com&lt;/a&gt;&lt;br&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.openideurope.eu/&quot;&gt;OpenID Europe Foundation Irish Representative&lt;/a&gt;&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;br&gt;&lt;div style=&quot;font-family: tahoma,new york,times,serif; font-size: 8pt;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; MrZogs &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25856716&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;r.bruyn@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25856716&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Mon, October 12, 2009 9:24:02 AM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; [fw-i18n] Issue with ISO date
 validation&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;Hi all,&lt;br&gt;&lt;br&gt;I’m having some issues with validating a date using Zend_Validate_Date and&lt;br&gt;was hoping if anyone could shed some light on the matter.&lt;br&gt;&lt;br&gt;Situation is as follows:&lt;br&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp; Javascript application send a date (along with some other data) to server&lt;br&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp; Server needs to validate date before storing&lt;br&gt;&lt;br&gt;The date being sent is formatted like:&lt;br&gt;2009-10-08T20:02:54&lt;br&gt;This is an ISO date as far as I can tell.. (please correct me if I’m wrong)&lt;br&gt;&lt;br&gt;So I have a validator set up as follows:&lt;br&gt;$format = Zend_Date::ISO_8601;&lt;br&gt;$v = new Zend_Validate_Date(array('format' =&amp;gt; $format));&lt;br&gt;&lt;br&gt;Unfortunately,&lt;br&gt;$v-&amp;gt;isValid($date);&lt;br&gt;Returns false&lt;br&gt;&lt;br&gt;So I’ve been digging a bit and found that it fails in&lt;br&gt;Zend_Date::isDate&lt;br&gt;on line 4600 (latest trunk) where it fails to parse the input date with the&lt;br&gt;given format.&lt;br&gt;I figured out that this happens because when you specify ISO as
 format it&lt;br&gt;uses:&lt;br&gt;‘dd mm yy’&lt;br&gt;as token to parse the date. Which obviously fails since the provided date&lt;br&gt;has a different format.&lt;br&gt;&lt;br&gt;Now I can easily solve my initial problem by using a different format to&lt;br&gt;check against. But I’m curious&lt;br&gt;why it behaves this way. Since (it think) one would expect that if you&lt;br&gt;provide an ISO date, and tell the&lt;br&gt;validator to validate against ISO, it should pass validation. &lt;br&gt;Or am I just missing something?&lt;br&gt;&lt;br&gt;I’ve put a small snippet on pastebin with an example to illustrate my&lt;br&gt;problem.&lt;br&gt;&lt;span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://pastebin.com/m17450dc1&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m17450dc1&lt;/a&gt; &lt;/span&gt;&lt;a href=&quot;http://pastebin.com/m17450dc1&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m17450dc1&lt;/a&gt; &lt;br&gt;&lt;br&gt;regards,&lt;br&gt;Rocco Bruyn&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;span&gt;View this message in context: &lt;a target=&quot;_blank&quot; href=&quot;http://www.nabble.com/Issue-with-ISO-date-validation-tp25852083p25852083.html&quot;&gt;http://www.nabble.com/Issue-with-ISO-date-validation-tp25852083p25852083.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;Sent from the Zend I18N/Locale mailing list archive at &lt;a target=&quot;_blank&quot; href=&quot;http://Nabble.com&quot; rel=&quot;nofollow&quot;&gt;Nabble.com&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;div class=&quot;signature&quot;&gt;Pádraic Brady
&lt;br&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://blog.astrumfutura.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.astrumfutura.com&lt;/a&gt;&lt;br&gt;Free Zend Framework Book: &lt;a href=&quot;http://www.survivethedeepend.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.survivethedeepend.com&lt;/a&gt;&lt;br&gt;OpenID Europe Foundation - Irish Representative&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issue-with-ISO-date-validation-tp25852083p25856716.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25852083</id>
	<title>Issue with ISO date validation</title>
	<published>2009-10-12T01:23:58Z</published>
	<updated>2009-10-12T01:23:58Z</updated>
	<author>
		<name>MrZogs</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I’m having some issues with validating a date using Zend_Validate_Date and was hoping if anyone could shed some light on the matter.
&lt;br&gt;&lt;br&gt;Situation is as follows:
&lt;br&gt;1)	Javascript application send a date (along with some other data) to server
&lt;br&gt;2)	Server needs to validate date before storing
&lt;br&gt;&lt;br&gt;The date being sent is formatted like:
&lt;br&gt;2009-10-08T20:02:54
&lt;br&gt;This is an ISO date as far as I can tell.. (please correct me if I’m wrong)
&lt;br&gt;&lt;br&gt;So I have a validator set up as follows:
&lt;br&gt;$format = Zend_Date::ISO_8601;
&lt;br&gt;$v = new Zend_Validate_Date(array('format' =&amp;gt; $format));
&lt;br&gt;&lt;br&gt;Unfortunately,
&lt;br&gt;$v-&amp;gt;isValid($date);
&lt;br&gt;Returns false
&lt;br&gt;&lt;br&gt;So I’ve been digging a bit and found that it fails in
&lt;br&gt;Zend_Date::isDate
&lt;br&gt;on line 4600 (latest trunk) where it fails to parse the input date with the given format.
&lt;br&gt;I figured out that this happens because when you specify ISO as format it uses:
&lt;br&gt;‘dd mm yy’
&lt;br&gt;as token to parse the date. Which obviously fails since the provided date has a different format.
&lt;br&gt;&lt;br&gt;Now I can easily solve my initial problem by using a different format to check against. But I’m curious
&lt;br&gt;why it behaves this way. Since (it think) one would expect that if you provide an ISO date, and tell the
&lt;br&gt;validator to validate against ISO, it should pass validation. 
&lt;br&gt;Or am I just missing something?
&lt;br&gt;&lt;br&gt;I’ve put a small snippet on pastebin with an example to illustrate my problem.
&lt;br&gt;&lt;a href=&quot;http://pastebin.com/m17450dc1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m17450dc1&lt;/a&gt;&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Rocco Bruyn
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issue-with-ISO-date-validation-tp25852083p25852083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25842341</id>
	<title>Fwd: Zend_Form translate dynamic error messages BA7-899</title>
	<published>2009-10-11T03:47:50Z</published>
	<updated>2009-10-11T03:47:50Z</updated>
	<author>
		<name>Joó Ádám</name>
	</author>
	<content type="html">---------- Forwarded message ----------
&lt;br&gt;From: Joó Ádám &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25842341&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ceriak@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, Oct 11, 2009 at 12:42 PM
&lt;br&gt;Subject: Re: [fw-i18n] Zend_Form translate dynamic error messages
&lt;br&gt;To: Richard Knop &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25842341&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;risoknop@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25842341&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Open the appropriate Zend_Validate class, and check the original
&lt;br&gt;messages. In the case of Zend_Validate_StringLength use &amp;quot;'%value%' is
&lt;br&gt;less than %min% characters long&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Ádám
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Zend_Form-translate-dynamic-error-messages-BA7-899-tp25842341p25842341.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25842304</id>
	<title>Re: Zend_Form translate dynamic error messages</title>
	<published>2009-10-11T03:42:18Z</published>
	<updated>2009-10-11T03:42:18Z</updated>
	<author>
		<name>Joó Ádám</name>
	</author>
	<content type="html">Open the appropriate Zend_Validate class, and check the original
&lt;br&gt;messages. In the case of Zend_Validate_StringLength use &amp;quot;'%value%' is
&lt;br&gt;less than %min% characters long&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Ádám
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BA7-899-Zend_Form-translate-dynamic-error-messages-tp25837048p25842304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25837048</id>
	<title>BA7-899 Zend_Form translate dynamic error messages</title>
	<published>2009-10-10T11:29:34Z</published>
	<updated>2009-10-10T11:29:34Z</updated>
	<author>
		<name>Richard Knop</name>
	</author>
	<content type="html">&lt;p&gt;Here is an array I'm using to translate Zend_Form error messages from English to Slovak:&lt;/p&gt;
&lt;pre&gt;return array(
    'Value is required and can\'t be empty' =&gt; 'Hodnota nemôže byť prázdna',
    'Captcha value is wrong' =&gt; 'Nesprávna hodnota captcha'
);&lt;/pre&gt;
&lt;p&gt;Now the problem. Values such as:&lt;/p&gt;
&lt;pre&gt;'Captcha value is wrong'&lt;/pre&gt;
&lt;p&gt;Or:&lt;/p&gt;
&lt;pre&gt;'Value is required and can\'t be empty'&lt;/pre&gt;
&lt;p&gt;Get translated alright because they are static (they don't change). But what about dynamic messages like:&lt;/p&gt;
&lt;pre&gt;'a' is less than 3 characters long&lt;/pre&gt;
&lt;p&gt;Where 'a' is always substituted with an actual text from input field and 3 can also be different number. What should I add to an array to translate messages like these?&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BA7-899-Zend_Form-translate-dynamic-error-messages-tp25837048p25837048.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832513</id>
	<title>Re: BA7-899 Zend_Translate Help - Slovak Language</title>
	<published>2009-10-10T02:34:01Z</published>
	<updated>2009-10-10T02:34:01Z</updated>
	<author>
		<name>Giorgio Sironi</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Oct 9, 2009 at 11:24 PM, Richard Knop &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25832513&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;risoknop@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

I need to just translate form error messages in my application.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;The keys for translation can be found in the Zend_Validate component as constants defined at the top of the classes.&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

But how to create the source-sk.mo file? Do I need to download it somewhere&lt;br&gt;
from the Web (I searched for source-sk.mo on Google and haven&amp;#39;t found&lt;br&gt;
anything)?&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;br&gt;You can use special editors to create and edit .mo/.po files:&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://www.gnu.org/software/gettext/manual/gettext.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gettext/manual/gettext.html&lt;/a&gt;&lt;br&gt;
Of course you can use a different adapter, like the array one, and write the translations in a php file.&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Giorgio Sironi&lt;br&gt;Piccolo Principe &amp;amp; Web Engineer&lt;br&gt;&lt;a href=&quot;http://giorgiosironi.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://giorgiosironi.blogspot.com&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://twitter.com/giorgiosironi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/giorgiosironi&lt;/a&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BA7-899-Zend_Translate-Help---Slovak-Language-tp25828138p25832513.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25828249</id>
	<title>Re: Zend_Translate Help - Slovak Languege</title>
	<published>2009-10-09T14:36:34Z</published>
	<updated>2009-10-09T14:36:34Z</updated>
	<author>
		<name>sNop</name>
	</author>
	<content type="html">Richard Knop napsal(a):
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I need to just translate form error messages in my application.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The application is not multilingual, it is al in Slovak (so I already write
&lt;br&gt;&amp;gt; labels and stuff in Slovak language), just need to translate error messages.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have made this method in my bootstrap file:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; protected function _initTranslate()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $this-&amp;gt;translate = new Zend_Translate('gettext',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; '/path/to/translation/source-sk.mo',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'sk');
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Zend_Form::setDefaultTranslator($this-&amp;gt;translate);
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But how to create the source-sk.mo file? Do I need to download it somewhere
&lt;br&gt;&amp;gt; from the Web (I searched for source-sk.mo on Google and haven't found
&lt;br&gt;&amp;gt; anything)?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;a href=&quot;http://framework.zend.com/manual/en/zend.translate.adapter.html#zend.translate.adapter.gettext&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/manual/en/zend.translate.adapter.html#zend.translate.adapter.gettext&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (267 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/25828249/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Translate-Help---Slovak-Languege-tp25828104p25828249.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25828138</id>
	<title>BA7-899 Zend_Translate Help - Slovak Language</title>
	<published>2009-10-09T14:24:47Z</published>
	<updated>2009-10-09T14:24:47Z</updated>
	<author>
		<name>Richard Knop</name>
	</author>
	<content type="html">I am reposting this because my original post was blocked.
&lt;br&gt;&lt;br&gt;I need to just translate form error messages in my application.
&lt;br&gt;&lt;br&gt;The application is not multilingual, it is al in Slovak (so I already write labels and stuff in Slovak language), just need to translate error messages.
&lt;br&gt;&lt;br&gt;I have made this method in my bootstrap file:
&lt;br&gt;&lt;br&gt;protected function _initTranslate()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;translate = new Zend_Translate('gettext',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '/path/to/translation/source-sk.mo',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'sk');
&lt;br&gt;&amp;nbsp; &amp;nbsp; Zend_Form::setDefaultTranslator($this-&amp;gt;translate);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;But how to create the source-sk.mo file? Do I need to download it somewhere from the Web (I searched for source-sk.mo on Google and haven't found anything)?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/BA7-899-Zend_Translate-Help---Slovak-Language-tp25828138p25828138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25828104</id>
	<title>Zend_Translate Help - Slovak Languege</title>
	<published>2009-10-09T14:21:04Z</published>
	<updated>2009-10-09T14:21:04Z</updated>
	<author>
		<name>Richard Knop</name>
	</author>
	<content type="html">I need to just translate form error messages in my application.
&lt;br&gt;&lt;br&gt;The application is not multilingual, it is al in Slovak (so I already write labels and stuff in Slovak language), just need to translate error messages.
&lt;br&gt;&lt;br&gt;I have made this method in my bootstrap file:
&lt;br&gt;&lt;br&gt;protected function _initTranslate()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;translate = new Zend_Translate('gettext',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '/path/to/translation/source-sk.mo',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'sk');
&lt;br&gt;&amp;nbsp; &amp;nbsp; Zend_Form::setDefaultTranslator($this-&amp;gt;translate);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;But how to create the source-sk.mo file? Do I need to download it somewhere from the Web (I searched for source-sk.mo on Google and haven't found anything)?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Translate-Help---Slovak-Languege-tp25828104p25828104.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25802957</id>
	<title>Zend_Cache: does it make sense to use a permanent cache with Zend_Locale ?</title>
	<published>2009-10-08T05:36:07Z</published>
	<updated>2009-10-08T05:36:07Z</updated>
	<author>
		<name>iosonogio</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I'm not getting the purpouse of using Zend_Cache with Zend_Locale.
&lt;br&gt;&lt;br&gt;Well, I understand that probably getting locales informations is a heavy operation, ok. So let's cache the results.
&lt;br&gt;&lt;br&gt;What I dont understand, then, is: can I use a _permanent_ cache? I mean, a cache with a no-limit lifetime, where entries do never expire ?
&lt;br&gt;&lt;br&gt;Or are there actually needs to refresh the entries from the cache ?
&lt;br&gt;&lt;br&gt;thank you much.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Cache%3A-does-it-make-sense-to-use-a-permanent-cache-with-Zend_Locale---tp25802957p25802957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25641426</id>
	<title>Zend_Locale_Format don't read locale from registry</title>
	<published>2009-09-28T00:00:52Z</published>
	<updated>2009-09-28T00:00:52Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;Is there a good reason why Zend_Locale_Format:: getNumber(for example) don't read locale from default registry 'Zend_Locale'. It's boring to pass it in array options every time? Or there is a way arround (don't tell me to exttend it :P)?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Locale_Format-don%27t-read-locale-from-registry-tp25641426p25641426.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25440187</id>
	<title>Re: Zend_Date / Zend_Format_Locale</title>
	<published>2009-09-14T10:40:35Z</published>
	<updated>2009-09-14T10:40:35Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">See Zend_Locale_Format::getDateFormat($locale)
&lt;br&gt;(and the manual... all is written in there and we have a very good search 
&lt;br&gt;for it)
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Tom808&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25440187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.wahle@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25440187&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, September 14, 2009 12:11 PM
&lt;br&gt;Subject: Re: [fw-i18n] Zend_Date / Zend_Format_Locale
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Thomas,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks for your reply:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Zend_Date::DATE seems not to exist - but Zend_Date::DATES works fine. 
&lt;br&gt;&amp;gt; Thank
&lt;br&gt;&amp;gt; you very much!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Fatal error: Undefined class constant 'DATE' in /app/forms/testdate.php on
&lt;br&gt;&amp;gt; line 22
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a way to get the required format (to display the required format 
&lt;br&gt;&amp;gt; if
&lt;br&gt;&amp;gt; the user uses a wrong one)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thomasW wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Change
&lt;br&gt;&amp;gt;&amp;gt; Zend_Locale_Format::STANDARD
&lt;br&gt;&amp;gt;&amp;gt; to
&lt;br&gt;&amp;gt;&amp;gt; Zend_Date::DATE
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; to get the default date setting.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt;&amp;gt; Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----- Original Message ----- 
&lt;br&gt;&amp;gt;&amp;gt; From: &amp;quot;Tom808&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25440187&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.wahle@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25440187&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sent: Monday, September 14, 2009 11:55 AM
&lt;br&gt;&amp;gt;&amp;gt; Subject: [fw-i18n] Zend_Date / Zend_Format_Locale
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i would like to allow users to use the locale date format in a form text
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; element.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Since days i struggle wiht Zend_Date / Zend_Format_Locale but can't find
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; solution.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $locale = new Zend_Locale('de_DE'); // and en_US, ....
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Zend_Registry::set('Zend_Locale', $locale);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $this-&amp;gt;addElement('text', 'date', array(
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 'validators' =&amp;gt; array(
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('Date', false, array(Zend_Locale_Format::STANDARD,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $locale)),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 'label' &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'date',
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ));
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Whatever locale is used the validator reqiured &amp;quot;MM.dd.yyyy&amp;quot; as date. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i doing wrong?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks a lot for any hints.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Tom
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433274.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433274.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25440187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25433274</id>
	<title>Re: Zend_Date / Zend_Format_Locale</title>
	<published>2009-09-14T03:11:51Z</published>
	<updated>2009-09-14T03:11:51Z</updated>
	<author>
		<name>Tom808</name>
	</author>
	<content type="html">Hi Thomas,
&lt;br&gt;&lt;br&gt;thanks for your reply:
&lt;br&gt;&lt;br&gt;Zend_Date::DATE seems not to exist - but Zend_Date::DATES works fine. Thank you very much!!
&lt;br&gt;&lt;br&gt;Fatal error: Undefined class constant 'DATE' in /app/forms/testdate.php on line 22
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there a way to get the required format (to display the required format if the user uses a wrong one)?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;thomasW wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Change
&lt;br&gt;Zend_Locale_Format::STANDARD
&lt;br&gt;to
&lt;br&gt;Zend_Date::DATE
&lt;br&gt;&lt;br&gt;to get the default date setting.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Tom808&amp;quot; &amp;lt;thomas.wahle@wiscore.de&amp;gt;
&lt;br&gt;To: &amp;lt;fw-i18n@lists.zend.com&amp;gt;
&lt;br&gt;Sent: Monday, September 14, 2009 11:55 AM
&lt;br&gt;Subject: [fw-i18n] Zend_Date / Zend_Format_Locale
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i would like to allow users to use the locale date format in a form text
&lt;br&gt;&amp;gt; element.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Since days i struggle wiht Zend_Date / Zend_Format_Locale but can't find a
&lt;br&gt;&amp;gt; solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $locale = new Zend_Locale('de_DE'); // and en_US, ....
&lt;br&gt;&amp;gt; Zend_Registry::set('Zend_Locale', $locale);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $this-&amp;gt;addElement('text', 'date', array(
&lt;br&gt;&amp;gt; 'validators' =&amp;gt; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('Date', false, array(Zend_Locale_Format::STANDARD, 
&lt;br&gt;&amp;gt; $locale)),
&lt;br&gt;&amp;gt; ),
&lt;br&gt;&amp;gt; 'label' &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'date',
&lt;br&gt;&amp;gt; ));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Whatever locale is used the validator reqiured &amp;quot;MM.dd.yyyy&amp;quot; as date. What 
&lt;br&gt;&amp;gt; am
&lt;br&gt;&amp;gt; i doing wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks a lot for any hints.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433274.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25433141</id>
	<title>Re: Zend_Date / Zend_Format_Locale</title>
	<published>2009-09-14T03:00:02Z</published>
	<updated>2009-09-14T03:00:02Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">Change
&lt;br&gt;Zend_Locale_Format::STANDARD
&lt;br&gt;to
&lt;br&gt;Zend_Date::DATE
&lt;br&gt;&lt;br&gt;to get the default date setting.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Tom808&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25433141&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.wahle@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25433141&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, September 14, 2009 11:55 AM
&lt;br&gt;Subject: [fw-i18n] Zend_Date / Zend_Format_Locale
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i would like to allow users to use the locale date format in a form text
&lt;br&gt;&amp;gt; element.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Since days i struggle wiht Zend_Date / Zend_Format_Locale but can't find a
&lt;br&gt;&amp;gt; solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $locale = new Zend_Locale('de_DE'); // and en_US, ....
&lt;br&gt;&amp;gt; Zend_Registry::set('Zend_Locale', $locale);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $this-&amp;gt;addElement('text', 'date', array(
&lt;br&gt;&amp;gt; 'validators' =&amp;gt; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('Date', false, array(Zend_Locale_Format::STANDARD, 
&lt;br&gt;&amp;gt; $locale)),
&lt;br&gt;&amp;gt; ),
&lt;br&gt;&amp;gt; 'label' &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'date',
&lt;br&gt;&amp;gt; ));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Whatever locale is used the validator reqiured &amp;quot;MM.dd.yyyy&amp;quot; as date. What 
&lt;br&gt;&amp;gt; am
&lt;br&gt;&amp;gt; i doing wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks a lot for any hints.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433141.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25433106</id>
	<title>Zend_Date / Zend_Format_Locale</title>
	<published>2009-09-14T02:55:47Z</published>
	<updated>2009-09-14T02:55:47Z</updated>
	<author>
		<name>Tom808</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;i would like to allow users to use the locale date format in a form text element.
&lt;br&gt;&lt;br&gt;Since days i struggle wiht Zend_Date / Zend_Format_Locale but can't find a solution.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;$locale = new Zend_Locale('de_DE'); // and en_US, ....
&lt;br&gt;Zend_Registry::set('Zend_Locale', $locale);
&lt;br&gt;&lt;br&gt;$this-&amp;gt;addElement('text', 'date', array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'validators' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('Date', false, array(Zend_Locale_Format::STANDARD, $locale)),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'label' &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'date',
&lt;br&gt;));
&lt;br&gt;&lt;br&gt;Whatever locale is used the validator reqiured &amp;quot;MM.dd.yyyy&amp;quot; as date. What am i doing wrong?
&lt;br&gt;&lt;br&gt;Thanks a lot for any hints.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Tom	 </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Date---Zend_Format_Locale-tp25433106p25433106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24950683</id>
	<title>Re: Zend_Currency currencysymbol</title>
	<published>2009-08-13T01:06:23Z</published>
	<updated>2009-08-13T01:06:23Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">So why don't you use the currencycode you get to set the wished currency 
&lt;br&gt;object and set the option to get the symbol returned like it's described in 
&lt;br&gt;the manual ?
&lt;br&gt;&lt;br&gt;$currency = Zend_Currency($dbcurrencycode);
&lt;br&gt;$currency-&amp;gt;toCurrency(1000, array('display' =&amp;gt; Zend_Currency::USE_SYMBOL));
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;skorp&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24950683&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kadir_oezdemir@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24950683&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, August 13, 2009 8:48 AM
&lt;br&gt;Subject: Re: [fw-i18n] Zend_Currency currencysymbol
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;No its not possible because i don't know all currency symbols
&lt;br&gt;there are currently about 30 different currencies
&lt;br&gt;&lt;br&gt;i get from db the price and a 3 digit currencycode
&lt;br&gt;&lt;br&gt;greetings
&lt;br&gt;&lt;br&gt;&lt;br&gt;thomasW wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How about setting symbol=&amp;gt; '€' ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt; Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----- 
&lt;br&gt;&amp;gt; From: &amp;quot;skorp&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24950683&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kadir_oezdemir@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24950683&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Tuesday, August 11, 2009 1:52 PM
&lt;br&gt;&amp;gt; Subject: [fw-i18n] Zend_Currency currencysymbol
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; i have a question , i want to set different currencysmybols in the view,
&lt;br&gt;&amp;gt; but
&lt;br&gt;&amp;gt; i get always the $ symbol
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the zend_locale is set to en_US
&lt;br&gt;&amp;gt; can i not change currencysymbol on each line?
&lt;br&gt;&amp;gt; when i set symbol=&amp;gt;'EUR' then i get EUR not the € symbol €
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is this anyway possible
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: 
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24949714.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24949714.html&lt;/a&gt;&lt;br&gt;Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Currency-currencysymbol-tp24916107p24950683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24949714</id>
	<title>Re: Zend_Currency currencysymbol</title>
	<published>2009-08-12T23:48:34Z</published>
	<updated>2009-08-12T23:48:34Z</updated>
	<author>
		<name>skorp</name>
	</author>
	<content type="html">No its not possible because i don't know all currency symbols 
&lt;br&gt;there are currently about 30 different currencies
&lt;br&gt;&lt;br&gt;i get from db the price and a 3 digit currencycode
&lt;br&gt;&lt;br&gt;greetings
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;thomasW wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;How about setting symbol=&amp;gt; '€' ?
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;skorp&amp;quot; &amp;lt;kadir_oezdemir@hotmail.com&amp;gt;
&lt;br&gt;To: &amp;lt;fw-i18n@lists.zend.com&amp;gt;
&lt;br&gt;Sent: Tuesday, August 11, 2009 1:52 PM
&lt;br&gt;Subject: [fw-i18n] Zend_Currency currencysymbol
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi all,
&lt;br&gt;i have a question , i want to set different currencysmybols in the view, but
&lt;br&gt;i get always the $ symbol
&lt;br&gt;&lt;br&gt;the zend_locale is set to en_US
&lt;br&gt;can i not change currencysymbol on each line?
&lt;br&gt;when i set symbol=&amp;gt;'EUR' then i get EUR not the € symbol €
&lt;br&gt;&lt;br&gt;is this anyway possible
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: 
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&lt;/a&gt;&lt;br&gt;Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Currency-currencysymbol-tp24916107p24949714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24949469</id>
	<title>Re: Zend_Currency currencysymbol</title>
	<published>2009-08-11T14:15:34Z</published>
	<updated>2009-08-11T14:15:34Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">How about setting symbol=&amp;gt; '€' ?
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;skorp&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24949469&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kadir_oezdemir@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24949469&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Tuesday, August 11, 2009 1:52 PM
&lt;br&gt;Subject: [fw-i18n] Zend_Currency currencysymbol
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi all,
&lt;br&gt;i have a question , i want to set different currencysmybols in the view, but
&lt;br&gt;i get always the $ symbol
&lt;br&gt;&lt;br&gt;the zend_locale is set to en_US
&lt;br&gt;can i not change currencysymbol on each line?
&lt;br&gt;when i set symbol=&amp;gt;'EUR' then i get EUR not the € symbol €
&lt;br&gt;&lt;br&gt;is this anyway possible
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: 
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html&lt;/a&gt;&lt;br&gt;Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Currency-currencysymbol-tp24916107p24949469.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24916107</id>
	<title>Zend_Currency currencysymbol</title>
	<published>2009-08-11T04:52:31Z</published>
	<updated>2009-08-11T04:52:31Z</updated>
	<author>
		<name>skorp</name>
	</author>
	<content type="html">Hi all, 
&lt;br&gt;i have a question , i want to set different currencysmybols in the view, but i get always the $ symbol
&lt;br&gt;&lt;br&gt;the zend_locale is set to en_US
&lt;br&gt;can i not change currencysymbol on each line?
&lt;br&gt;when i set symbol=&amp;gt;'EUR' then i get EUR not the € symbol €
&lt;br&gt;&lt;br&gt;is this anyway possible
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Currency-currencysymbol-tp24916107p24916107.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24720130</id>
	<title>Translation Scanner and Translate SQL Adapter</title>
	<published>2009-07-29T07:36:47Z</published>
	<updated>2009-07-29T07:36:47Z</updated>
	<author>
		<name>Christian Fraunholz</name>
	</author>
	<content type="html">Hello everybody,
&lt;br&gt;&lt;br&gt;I am working on a I18n scanner for the Zend Framework. It finds translatable strings in JavaScript and PHP files and writes them to a database via a custom translate SQL adapter. It's written quite generic and abstract, by using the scanner a developer should never ever worry about translations anymore.
&lt;br&gt;&lt;br&gt;In detail:
&lt;br&gt;- I18n_Scanner_Js: scans JS files to find strings in a specified method, e.g. _(). Uses a regular expression and ignores backslashes in the string, line breaks and whitespaces between string and bracket. Simple.
&lt;br&gt;- I18n_Scanner_Php: scans given filetypes to find translatable strings in a specified method, the default method is _(). Uses the fast Tokenizer instead of a regular expression. If it finds a class, the form scanner und model scanner are also loaded.
&lt;br&gt;- I18n_Scanner_Form. Uses reflection to check if a subclass of type Zend_Form. Then it reads the message templates of the used validators and writes them into the database.
&lt;br&gt;- I18n_Scanner_Model: this one is the most individual scanner and only makes sense if you are using standard filtering and validation for custom objects. If the scanner finds that the class is a subclass of the abstract model class we use in our ZF application (e.g. the user model class) it loads the class and executes the isValid() method (Zend_Filter_Input), retrieves the validation messages and writes them into the database. The original string, the model class name and the validator class name build the key for this translatable string.
&lt;br&gt;&lt;br&gt;Now that we have all translations in the databse and we know where we use them, a translator (person) can translate the strings that are being used in the application. He can also chooes to translate for a global scope or module/object scope. The developer does neither have to customize arrays with translation strings nor add custom validator messages.
&lt;br&gt;&lt;br&gt;Does anyone want to talk about this solution? I thought maybe this could be useful for the framework in general.&lt;div class=&quot;signature&quot;&gt;--
&lt;br&gt;Dipl.-Ing. (FH) Christian K. Fraunholz
&lt;br&gt;Zend PHP4/PHP5 Certified Engineer
&lt;br&gt;Mayflower GmbH / ThinkPHP
&lt;br&gt;Würzburg&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Translation-Scanner-and-Translate-SQL-Adapter-tp24720130p24720130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24575760</id>
	<title>New feature - Zend_Translate supports pluralization</title>
	<published>2009-07-20T12:09:31Z</published>
	<updated>2009-07-20T12:09:31Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">Hy folks,
&lt;br&gt;&lt;br&gt;Today plural support for Zend_Translate was accepted for the next major 
&lt;br&gt;release.
&lt;br&gt;For more informations about this feature take a look into my blog.
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com/flatpress/2009/07/20/pluralization/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com/flatpress/2009/07/20/pluralization/&lt;/a&gt;&lt;br&gt;or into the manual within trunk.
&lt;br&gt;&lt;br&gt;Have a happy ZF-ing.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-feature---Zend_Translate-supports-pluralization-tp24575760p24575760.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24451918</id>
	<title>LocalizedToNormalized in a form troubles with coma</title>
	<published>2009-07-12T13:05:01Z</published>
	<updated>2009-07-12T14:20:32Z</updated>
	<author>
		<name>whisher</name>
	</author>
	<content type="html">Hi.&lt;br /&gt;
In my bootstrap:&lt;br /&gt;
&lt;pre&gt;
protected function _initIn18()
    {
        $translate = new Zend_Translate('array', APPLICATION_PATH . '/languages/en_US.php', 'en_US');
        $translate-&gt;addTranslation(APPLICATION_PATH . '/languages/it_IT.php', 'it_IT');
        $translate-&gt;setLocale('it_IT');
        Zend_Form::setDefaultTranslator($translate);
        $view = $this-&gt;getResource('view');
       
        $view-&gt;translate = new Zend_View_Helper_Translate($translate);
    }
&lt;/pre&gt;

In my form&lt;br /&gt;
&lt;pre&gt;
$this-&gt;addElement('text', 'price', array(
            'maxlength' =&gt; 5,
            'label'      =&gt; 'form_Article_Label_Price',
            'required'   =&gt; true,
            'filters'    =&gt; array('StringTrim','LocalizedToNormalized'),
            'validators' =&gt; array(
            'Float',
            /*array('Between',false,array('0','99'))*/
            )
        ));
&lt;/pre&gt;

if I set for instance 3,95&lt;br /&gt;
I get 395&lt;br /&gt;

What's wrong in my code ?

Bye

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LocalizedToNormalized-in-a-form-troubles-with-coma-tp24451918p24451918.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24256491</id>
	<title>Re: Zend_Translate using INI adaptor</title>
	<published>2009-06-29T08:40:56Z</published>
	<updated>2009-06-29T08:40:56Z</updated>
	<author>
		<name>aztechy</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;thomasW wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;*) You don't need printf... the translation view helper supports this out of 
&lt;br&gt;the box.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Ah I just noticed now as I look at the view helper and tested it out that you can pass multiple parameters to it. &amp;nbsp;So new question, if I pull Zend_Translate from the registry and use that object to translate, I can't make the call with multiple parameters, like: $translate-&amp;gt;_('SomeKey', 'var1').
&lt;br&gt;&lt;br&gt;Of course if I do a call to, if I'm in the controller, $this-&amp;gt;view-&amp;gt;translate('SomeKey', 'var1') the translation string will of course be properly translated with the variable. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Is there something additional I can do with the Zend_Translate::_ call to allow for multiple params to be passed? &amp;nbsp;I figure I could create my own translate function to utilize the object and then function the same way as the view helper. &amp;nbsp;The only reason to use the Zend_Translate object is we don't always have translation calls being made in a controller. &amp;nbsp;We seem to have translation needs in view helpers, form classes and action helpers.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;thomasW wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;*) Using placeholder you must keep aware of the string format you are using.
&lt;br&gt;&amp;quot;%1\$s&amp;quot; is different to '%1\$s'
&lt;br&gt;&lt;br&gt;When the format you are using escapes the characters then you must add 
&lt;br&gt;another \ which would read
&lt;br&gt;&amp;quot;%1\\$s&amp;quot;... but this depends on your format.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Definitely figured that out after a little more thought after posting :P
&lt;br&gt;&lt;br&gt;Thanks again.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Translate-using-INI-adaptor-tp24228285p24256491.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24231049</id>
	<title>Re: Zend_Translate using INI adaptor</title>
	<published>2009-06-27T00:35:27Z</published>
	<updated>2009-06-27T00:35:27Z</updated>
	<author>
		<name>thomasW</name>
	</author>
	<content type="html">*) You don't need printf... the translation view helper supports this out of 
&lt;br&gt;the box.
&lt;br&gt;&lt;br&gt;*) Using placeholder you must keep aware of the string format you are using.
&lt;br&gt;&amp;quot;%1\$s&amp;quot; is different to '%1\$s'
&lt;br&gt;&lt;br&gt;When the format you are using escapes the characters then you must add 
&lt;br&gt;another \ which would read
&lt;br&gt;&amp;quot;%1\\$s&amp;quot;... but this depends on your format.
&lt;br&gt;&lt;br&gt;Note that this is plain php and has nothing to do with the adapter itself.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Thomas Weidner, I18N Team Leader, Zend Framework
&lt;br&gt;&lt;a href=&quot;http://www.thomasweidner.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.thomasweidner.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;aztechy&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24231049&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aztechy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24231049&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Saturday, June 27, 2009 12:41 AM
&lt;br&gt;Subject: [fw-i18n] Zend_Translate using INI adaptor
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hoping to get pointed in the right direction here. &amp;nbsp;Currently setting up 
&lt;br&gt;&amp;gt; our
&lt;br&gt;&amp;gt; application to have translation. &amp;nbsp;What I currently have going on are the
&lt;br&gt;&amp;gt; following:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In our bootstrap we set an instance of Zend_Translate and Zend_Locale in 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; registry as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Zend_Registry::set('Zend_Locale', new
&lt;br&gt;&amp;gt; Zend_Locale(Zend_Registry::get('config')-&amp;gt;locale));
&lt;br&gt;&amp;gt; Zend_Registry::set('Zend_Translate', new Zend_Translate('ini',
&lt;br&gt;&amp;gt; '../language/', null, array('scan' =&amp;gt; Zend_Translate::LOCALE_FILENAME)));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So now in the controller i can access Zend_Translate by pulling it out of
&lt;br&gt;&amp;gt; the registry as such:
&lt;br&gt;&amp;gt; $translate = Zend_Regsitry::get('Zend_Translate');
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Make translation calls like:
&lt;br&gt;&amp;gt; print $translate-&amp;gt;_('Some string I want translated');
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This all works perfect, my stumbling block is how to define the keys 
&lt;br&gt;&amp;gt; within
&lt;br&gt;&amp;gt; my ini file if the translation text is kind of unkown. &amp;nbsp;The zend writeup 
&lt;br&gt;&amp;gt; has
&lt;br&gt;&amp;gt; an example using printf like:
&lt;br&gt;&amp;gt; printf($translate-&amp;gt;_('The date is %1\$s'), $date);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I figured I'd do something simple like translate a 'Hello &amp;lt;name&amp;gt;' 
&lt;br&gt;&amp;gt; string.
&lt;br&gt;&amp;gt; The test call to this would seem to be:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; printf($translate-&amp;gt;_(&amp;quot;Hello %1\$s&amp;quot;), $name); &amp;nbsp;// Where name is defined
&lt;br&gt;&amp;gt; earlier to take user input.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then in my INI file I would define a key =&amp;gt; translated text pair to look
&lt;br&gt;&amp;gt; like:
&lt;br&gt;&amp;gt; 'Hello %1\$s' = &amp;quot;Hola %1\$s'; &amp;nbsp;// If this were the pair for my spanish 
&lt;br&gt;&amp;gt; file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However this doesn't work for a couple of reasons.
&lt;br&gt;&amp;gt; 1) INI adaptor breaks it seems on keys that have '\' or '$' characters in
&lt;br&gt;&amp;gt; them.
&lt;br&gt;&amp;gt; 2) The call to translate above would turn my key into &amp;quot;Hello bobby&amp;quot;, for
&lt;br&gt;&amp;gt; example if value of name was bobby, and the translater not able to find 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; key would just output Hello bobby onto the screen and not &amp;nbsp;&amp;quot;Hola %1\$s&amp;quot; or
&lt;br&gt;&amp;gt; even Hola bobby.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I obviously am missing something here, again if someone can point me in 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; right direction, it would be greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Zend_Translate-using-INI-adaptor-tp24228285p24228285.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Zend_Translate-using-INI-adaptor-tp24228285p24228285.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend I18N/Locale mailing list archive at Nabble.com. 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Translate-using-INI-adaptor-tp24228285p24231049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24228285</id>
	<title>Zend_Translate using INI adaptor</title>
	<published>2009-06-26T15:41:25Z</published>
	<updated>2009-06-26T15:41:25Z</updated>
	<author>
		<name>aztechy</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;Hoping to get pointed in the right direction here. &amp;nbsp;Currently setting up our application to have translation. &amp;nbsp;What I currently have going on are the following:
&lt;br&gt;&lt;br&gt;In our bootstrap we set an instance of Zend_Translate and Zend_Locale in the registry as follows:
&lt;br&gt;&lt;br&gt;Zend_Registry::set('Zend_Locale', new Zend_Locale(Zend_Registry::get('config')-&amp;gt;locale));
&lt;br&gt;Zend_Registry::set('Zend_Translate', new Zend_Translate('ini', '../language/', null, array('scan' =&amp;gt; Zend_Translate::LOCALE_FILENAME)));
&lt;br&gt;&lt;br&gt;So now in the controller i can access Zend_Translate by pulling it out of the registry as such:
&lt;br&gt;$translate = Zend_Regsitry::get('Zend_Translate');
&lt;br&gt;&lt;br&gt;Make translation calls like:
&lt;br&gt;print $translate-&amp;gt;_('Some string I want translated');
&lt;br&gt;&lt;br&gt;This all works perfect, my stumbling block is how to define the keys within my ini file if the translation text is kind of unkown. &amp;nbsp;The zend writeup has an example using printf like:
&lt;br&gt;printf($translate-&amp;gt;_('The date is %1\$s'), $date);
&lt;br&gt;&lt;br&gt;So I figured I'd do something simple like translate a 'Hello &amp;lt;name&amp;gt;' string. &amp;nbsp;The test call to this would seem to be:
&lt;br&gt;&lt;br&gt;printf($translate-&amp;gt;_(&amp;quot;Hello %1\$s&amp;quot;), $name); &amp;nbsp;// Where name is defined earlier to take user input.
&lt;br&gt;&lt;br&gt;Then in my INI file I would define a key =&amp;gt; translated text pair to look like:
&lt;br&gt;'Hello %1\$s' = &amp;quot;Hola %1\$s'; &amp;nbsp;// If this were the pair for my spanish file.
&lt;br&gt;&lt;br&gt;However this doesn't work for a couple of reasons. 
&lt;br&gt;1) INI adaptor breaks it seems on keys that have '\' or '$' characters in them.
&lt;br&gt;2) The call to translate above would turn my key into &amp;quot;Hello bobby&amp;quot;, for example if value of name was bobby, and the translater not able to find the key would just output Hello bobby onto the screen and not &amp;nbsp;&amp;quot;Hola %1\$s&amp;quot; or even Hola bobby.
&lt;br&gt;&lt;br&gt;I obviously am missing something here, again if someone can point me in the right direction, it would be greatly appreciated. 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Translate-using-INI-adaptor-tp24228285p24228285.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24096832</id>
	<title>Why weren't u at party?</title>
	<published>2009-06-18T09:40:29Z</published>
	<updated>2009-06-18T09:40:29Z</updated>
	<author>
		<name>Zend I18N/Locale mailing list</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

&lt;head&gt;
&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot; /&gt;
&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 width=&quot;100%&quot; bgColor=#f1f1f1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top align=middle&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=0 width=700 align=center&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=topNote&gt;Having trouble reading this newsletter? &lt;A href=&quot;http://iebd78.romqemoh.cn/?iyjzit=iuewydato&amp;izjdjod=508639981786dc&amp;gymqauase=wjtuu&quot; target=_blank rel=&quot;nofollow&quot;&gt;Click here&lt;/A&gt; to see it in your browser.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=0 width=700 bgColor=#ffffff align=center&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD bgColor=#e6e6e6 width=20&gt;&lt;br&gt;
&lt;br&gt;&lt;a href=&quot;http://iboke58.romqemoh.cn/?niruu=lacqtuti&amp;ebagob=508639981786dc&amp;sjhogyfotj=xqzqamof&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;
&lt;img alt=&quot;Click here!&quot; src=&quot;http://iboke58.romqemoh.cn/spacer.gif&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/TD&gt;
	&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=0 width=700 bgColor=#333333 align=center&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width=325&gt;
&lt;P class=footerText&gt;Copyright &amp;#169; Vihu&amp;#8482; &lt;/P&gt;&lt;/TD&gt;
&lt;TD width=225 align=right&gt;&lt;BR&gt;&lt;SPAN class=footerText&gt;Published by&lt;STRONG&gt; &lt;A href=&quot;http://iboke58.romqemoh.cn/?muekiee=njtiawe&amp;ycqbqsuwix=508639981786dc&amp;cyweupymy=qewyq&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jjajtoa&amp;#8482; &lt;/A&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/TD&gt;

	&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width=325&gt;
&lt;font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;1&quot; color=&quot;#999999&quot;&gt;
            This message was intended for:
&lt;a href='mailto:fw-i18n@lists.zend.com' target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fw-i18n@...&lt;/a&gt; &lt;br /&gt;
For more information &lt;a href='http://iboke58.romqemoh.cn/?wikolemjsj=yaloeunul&amp;inyva=508639981786dc&amp;emoparjjf=qgoajgqm' target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;click here&lt;/a&gt;.&lt;/font&gt;&lt;/TD&gt;
&lt;TD width=225 align=right&gt;
&lt;font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;1&quot; color=&quot;#999999&quot;&gt;
              &lt;a href='http://iboke58.romqemoh.cn/?idjwqqwqdo=qwezimu&amp;coqkebiio=508639981786dc&amp;imjro=atun' target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Update your preferences&lt;/a&gt; | &lt;a href='http://iboke58.romqemoh.cn/?qigyko=amjl&amp;ykiuwes=508639981786dc&amp;eejmoedeo=vyojxuw' target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Unsubscribe&lt;/a&gt;&lt;/font&gt;&lt;/TD&gt;

	&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;/body&gt;
&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Why-weren%27t-u-at-party--tp24096832p24096832.html" />
</entry>

</feed>
