Hi Felix
I clean cache folder and currency display correctly .
i dont understand how to config translators in the xml file
in the agavi example translatos.xml show
<message_translator class="AgaviGettextTranslator">
<ae:parameter name="text_domains">
<ae:parameter
name="menu">%core.app_dir%/data/i18n</ae:parameter>
<ae:parameter
name="layout">%core.app_dir%/data/i18n</ae:parameter>
<ae:parameter
name="Login">%core.app_dir%/data/i18n</ae:parameter>
<ae:parameter
name="SearchEngineSpam">%core.app_dir%/data/i18n</ae:parameter>
<ae:parameter
name="ErrorActions">%core.app_dir%/data/i18n</ae:parameter>
</ae:parameter>
</message_translator>
in defaul_indexview
$this->tm->_('Welcome to the Agavi Sample Application', 'default.layout')
What is the text_domains ?
Can i have multiple .mo files?
example:
%core.app_dir%/data/i18n/en_menu.mo
%core.app_dir%/data/i18n/en_layout.mo
How do workt the text_domains? what is the functionality?
Thank in the advance,
Rafael
pd: i prefer to learn english to comunicate with you
2009/3/27 <[email protected]>
> Send users mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.agavi.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Agavi 0.11.7 released! (David Z?lke)
> 2. Agavi 1.0.1 RC1 released (David Z?lke)
> 3. Re: How to config translate.xml correctly (Felix Gilcher)
> 4. Re: How to config translate.xml correctly (David Z?lke)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 26 Mar 2009 13:10:26 +0100
> From: David Z?lke <[email protected]>
> Subject: [Agavi-Users] Agavi 0.11.7 released!
> To: [email protected], Agavi Users Mailing List
> <[email protected]>, Agavi Dev Mailing List <
> [email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi friends,
>
> Agavi 0.11.7 is now available for download at http://www.agavi.org/
>
> This maintenance release fixes a number of issues over Agavi 0.11.6.
>
> The following are worth mentioning:
> - Most notable, a race condition in configuration file compilation was
> fixed that could lead to corrupt compiled files on disk.
> - Exporting values from validators with argument bases is now
> possible, and it's possible to control the exact use of keys in the
> process.
> - The bundled Timezone database was updated to version 2009d.
> - Last but not least, it's now possible to set session_cache_expire(),
> session_cache_limiter() and session_module_name() through configuration.
> - Several other minor fixes.
>
> As usual, please check the CHANGELOG for a complete list of changes.
>
> Greetings,
>
> David
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 2474 bytes
> Desc: not available
> Url :
> http://lists.agavi.org/pipermail/users/attachments/20090326/a71d53a8/attachment-0001.bin
>
> ------------------------------
>
> Message: 2
> Date: Thu, 26 Mar 2009 15:44:13 +0100
> From: David Z?lke <[email protected]>
> Subject: [Agavi-Users] Agavi 1.0.1 RC1 released
> To: [email protected], Agavi Dev Mailing List
> <[email protected]>, Agavi Users Mailing List
> <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello folks,
>
> Agavi 1.0.1 RC1 is now available for download at http://www.agavi.org/
>
> This maintenance release fixes a number of issues over Agavi 1.0.0 and
> brings a couple of minor enhancements.
>
> The following are worth mentioning:
> - Most notable, a race condition in configuration file compilation was
> fixed that could lead to corrupt compiled files on disk.
> - Exporting values from validators with argument bases is now
> possible, and it's possible to control the exact use of keys in the
> process.
> - The bundled Timezone database was updated to version 2009d.
> - Last but not least, it's now possible to set session_cache_expire(),
> session_cache_limiter() and session_module_name() through configuration.
> - Support for document/literal wrapped style SOAP services has been
> improved.
> - Two regressions related to AgaviRoutingCallback::onGenerate() have
> been fixed.
> - Handling of slashes and dots in Action, View and Model names has
> been unified - slashes are now always used internally.
> - Several other minor fixes and enhancements.
>
> As usual, please check the CHANGELOG for a complete list of changes.
>
> Stay strong,
>
> David
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 2474 bytes
> Desc: not available
> Url :
> http://lists.agavi.org/pipermail/users/attachments/20090326/70291143/attachment-0001.bin
>
> ------------------------------
>
> Message: 3
> Date: Thu, 26 Mar 2009 17:13:42 +0100
> From: Felix Gilcher <[email protected]>
> Subject: Re: [Agavi-Users] How to config translate.xml correctly
> To: Agavi Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Rafael,
>
> I don't understand your question, but I do understand a little spanish
> - not enough to answer you in spanish but you could try asking in
> spanish and I'll grab my good old dictionary and try to figure it out.
>
> cheers
>
> felix
>
> On Mar 19, 2009, at 4:27 PM, Rafael Guerrero wrote:
>
> >
> > Hello ,
> >
> > i cant find config my project on spanish
> >
> > download es.mo ( worpres ) but dont work fine
> >
> >
> > i have
> >
> > <available_locales default_locale="es...@currency=vef">
> > <available_locale identifier="es_VE">
> > <ae:parameter name="description">Espa?ol</
> > ae:parameter>
> > </available_locale>
> > < /available_locales>
> >
> > --------------------------------------------------------
> >
> > erase es.mo file
> >
> > i set available locale one locale es_VE
> >
> >
> > <available_locales default_locale="es...@currency=vef">
> > <available_locale identifier="es_VE">
> > <ae:parameter name="description">Espa?ol</
> > ae:parameter>
> > </available_locale>
> > < /available_locales>
> > ....
> >
> >
> > but the price of product display GBP symbol ( ? )
> >
> > the current date show correctly in the sample app
> >
> >
> > thanks in the advance,
> >
> >
> > Rafael
> >
> > PD: sorry for my english
> >
> >
> >
> >
> >
> >
> > --
> > Atte
> > Rafael ?ngel Guerrero Godoy
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.agavi.org/mailman/listinfo/users
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 2476 bytes
> Desc: not available
> Url :
> http://lists.agavi.org/pipermail/users/attachments/20090326/0e6e5515/attachment-0001.bin
>
> ------------------------------
>
> Message: 4
> Date: Thu, 26 Mar 2009 17:16:23 +0100
> From: David Z?lke <[email protected]>
> Subject: Re: [Agavi-Users] How to config translate.xml correctly
> To: Agavi Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Or you could ask a friend to translate it to English for you; that
> would probably be easier.
>
> - David
>
>
> On 26.03.2009, at 17:13, Felix Gilcher wrote:
>
> > Hi Rafael,
> >
> > I don't understand your question, but I do understand a little
> > spanish - not enough to answer you in spanish but you could try
> > asking in spanish and I'll grab my good old dictionary and try to
> > figure it out.
> >
> > cheers
> >
> > felix
> >
> > On Mar 19, 2009, at 4:27 PM, Rafael Guerrero wrote:
> >
> >>
> >> Hello ,
> >>
> >> i cant find config my project on spanish
> >>
> >> download es.mo ( worpres ) but dont work fine
> >>
> >>
> >> i have
> >>
> >> <available_locales default_locale="es...@currency=vef">
> >> <available_locale identifier="es_VE">
> >> <ae:parameter name="description">Espa?ol</
> >> ae:parameter>
> >> </available_locale>
> >> < /available_locales>
> >>
> >> --------------------------------------------------------
> >>
> >> erase es.mo file
> >>
> >> i set available locale one locale es_VE
> >>
> >>
> >> <available_locales default_locale="es...@currency=vef">
> >> <available_locale identifier="es_VE">
> >> <ae:parameter name="description">Espa?ol</
> >> ae:parameter>
> >> </available_locale>
> >> < /available_locales>
> >> ....
> >>
> >>
> >> but the price of product display GBP symbol ( ? )
> >>
> >> the current date show correctly in the sample app
> >>
> >>
> >> thanks in the advance,
> >>
> >>
> >> Rafael
> >>
> >> PD: sorry for my english
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Atte
> >> Rafael ?ngel Guerrero Godoy
> >> _______________________________________________
> >> users mailing list
> >> [email protected]
> >> http://lists.agavi.org/mailman/listinfo/users
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.agavi.org/mailman/listinfo/users
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 2474 bytes
> Desc: not available
> Url :
> http://lists.agavi.org/pipermail/users/attachments/20090326/595bfd44/attachment-0001.bin
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 29, Issue 30
> *************************************
>
--
Atte
Rafael Ángel Guerrero Godoy
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users