I'm doing my first i18n app in rails 2.3.4. I installed the globalize2
plugin and am now struggling to understand what's going on - there's not
much documentation i can see for globalize2 besides the home page
(http://github.com/joshmh/globalize2#readme) which isn't very in-depth.
Does most of the documentation for globalize (eg
http://globalize-rails.org/wikipages/getting-started#install) apply?
Globalize2 says it hooks into i18n which comes shipped with rails post
2.2, so should i just be following the i18n documentation instead?
(http://guides.rubyonrails.org/i18n.html)
Do i even need to use globalize2? Is it better to just stick with rails
built in i18n? Globalize doesn't seem to be compatible with rails 2.2.
Kind of confused, basically, grateful for any advice.
thanks, max
--
Posted via http://www.ruby-forum.com/.
The built-in i18n does a lot. I think all Globalize2 adds is model
translations (translating attributes like item.description or
whatever). I prefer http://github.com/iain/translatable_columns/ for
that. For translations in controllers, views, mailers, helpers etc,
i18n is all you need.
Thanks Henrik. I ended up ditching globalize2 and just using I18n. I'm
currently looking at the translate routes plugin
(http://github.com/raul/translate_routes) for handling my urls. Looks
good.
cheers, max
--
You received this message because you are subscribed to the Google Groups "rails-i18n" group.
To post to this group, send email to rails...@googlegroups.com.
To unsubscribe from this group, send email to rails-i18n+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en.
/my-account
in english, and
/de/mein-konto
in german, with no work required other than putting an entry for
my-account into your strings file. In your code you still just refer to
it as "account_path" or whatever.
grimen