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

-- 
Atte
Rafael Ángel Guerrero Godoy
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to