Forum: Typo Globalize plugin on Typo

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E78c5ff1b3a2bff5562ed5aa1b888f91?d=identicon&s=25 David Verdú (Guest)
on 2006-04-06 10:11
(Received via mailing list)
Hello! I'm Trying to add localization to my Typo installation with
Globalize
Plugin but, what my surprise!

1. script/plugin script doesn't exists. Why Typo hasn't this script?

2. 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_0<http://rubyforge.org/frs/shownotes.php?release_id=4771>

Thanks
*
6451ee8093c9cedc94f6c813b4dde2c5?d=identicon&s=25 Kevin Ballard (Guest)
on 2006-04-06 18:01
(Received via mailing list)
Uhh, script/plugin doesn't exist because Typo 2.6.0 is old. You might
want to try this on trunk instead (or wait for the imminent 4.0
release).
Ef103d0277fce24aaa1dd2a4124362ff?d=identicon&s=25 Denis Lamotte (Guest)
on 2006-04-06 18:35
(Received via mailing list)
Yeah and i'll  post a complete localizazed version of the current trunk
with the Localization (updated) plugin ( for rails 1.0 only), available
in english, french and dutch.
This topic is locked and can not be replied to.