[Solar-talk] Accessing locale strings from layouts

Andreas Ravnestad andreas.ravnestad at gmail.com
Sat Jun 16 09:40:34 PDT 2007


Paul M Jones wrote:
> On Jun 14, 2007, at 8:13 AM, Andreas Ravnestad wrote:
>
>   
>> Well it works, but only partly. The locale strings are only  
>> available on
>> a per-controller basis. So the locale strings in /ctrl_1/action are  
>> not
>> availble in /ctrl_2/action, seen from the common layouts point of  
>> view.
>>
>> I tried putting the locale file in /Vendor/App/Locale, but to no  
>> avail.
>>     
>
> If your controllers descend from Vendor_App, that should be working.   
> If they descend from Vendor_App_Base, try putting the common strings  
> in in Vendor/App/Base/Locale.
>
> Let me know if this helps or not.
>   


Yep, that halped!

-AR


More information about the solar-talk mailing list