Hello! I’m Trying to add localization to my Typo installation with
Globalize
Plugin but, what my surprise!
-
script/plugin script doesn’t exists. Why Typo hasn’t this script?
-
I have tryed to checkout by hand latest Globalize version into
vendor/plugins (plugins folder created by me), vendor and lib folders
with
subversion. Globalize is taken from
http://svn.globalize-rails.org/svn/globalize/globalize/trunk.
Then, I invoqued script/generate migrate and rake migrate, and It seems
to
run well; database was updated with globalize tables. But, when I use on
views t method, application breaks with this line:
%= link_to(“edit”.t, { :controller => “admin/content”, :action =>
“edit”, :id => @article },
:class => “admintools”, :style => “display: none”, :id =>
“admin_article”) %>
Dumping this error:
undefined method `t’ for “edit”:String
Why are typo folders structure slightly different from normal Rails
applications? so, What things should I change to set globalize correctly
on
Typo?
I’m using
*typo-2.6.0_rails_1_0http://rubyforge.org/frs/shownotes.php?release_id=4771
Thanks
*