« Return to Thread: Locales in Model-Based Views

Re: Locales in Model-Based Views

by Paul M Jones-4 :: Rate this Message:

Reply to Author | View in Thread


On Sep 16, 2009, at 22:30 , Jon Elofson wrote:

> Or, Should
> you use something like $item->locale($locale_key) in the _list.php and
> _item.php views to access the model's locale keys?

That sounds like the proper thing to do, and I failed to incorporate  
it into the default views.  I will correct it.  Thanks for the  
catch.  :-)


> Just trying to keep the locale keys where they belong and not
> duplicate anything. Sorry if this seems trivial.

Not trivial at all; localization is an important issue.



--

Paul M. Jones
http://paul-m-jones.com/




_______________________________________________
Solar-talk mailing list
Solar-talk@...
http://mailman-mail5.webfaction.com/listinfo/solar-talk

 « Return to Thread: Locales in Model-Based Views