On Fri, Apr 30, 2010 at 8:09 AM, Eugen Funk <eugen.f...@gmail.com> wrote:
> Hello folks,
> i was playing around with my own extension for radiant but didnt figure out
> where to put en.yml files so i can use the i18n ability of rails.
>
> in my view i have
> <%= t(:hello) %> ...
>
> but the result is "translation not found".
>
> i already treid to create an en.yml file with following content:
> en:
> hello: ahoi!
>
> in following folders:
> root/config/local/en.yml
> root/vendor/extensions/myextension/config/locale/en.yml

config/locales not config/local or config/locale
Either your main project or your extension should work if I recall correctly.


>
> do somebody know how to deal with that?
>
> thanks alot!
>
> regards
>

-- 
Jim Gay
http://www.saturnflyer.com
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to