great, I updated the translation related files for this and the Romeo
color and vendor plugin make_resourcful.
The switch works ok apart from loading the root page
app/views/shared/_tagline_and_locales.html.haml where line #7 raised:
undefined method `to_sym' for nil:NilClass
7: %li= link_to_unless(locale.to_sym == params[:locale].to_sym,
t('i18n.language.name', :locale => locale), url_for(params.merge(:locale
=> locale)))
As the default locale and supported locales are configurable now, should
this configuration be taken into account in
config/routes.rb
We got
scope "(:locale)", :locale => /en|de/ do
there from the initial work on how to make i18n restful by using routes.
One could use the supported locales there and maybe add the default
locale to root.
Claudia
--
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/
Howard
These issues should be fixed now.
Howard
On 10/21/2011 5:33 AM, Claudia J�rgen wrote: