Hi Jim thank you! Putting into root/config/locales works perfectly. though I added the locale files in my extension to the I18n.load_path list in myextension_extension.rb:
I18n.load_path += Dir[ File.join(RAILS_ROOT, 'vendor/extensions/bayes/config', 'locales', '*.{yml}') ] greetings 2010/4/30 Jim Gay <j...@saturnflyer.com> > 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 > _______________________________________________ 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