how do you support languages?

I want to customize notices and interfaces, would you use session[:language] and a YAML file ?
I don’t want things automatically translated, just accurate text in Italian, Portuguese and English!

lang.yml

it:

welcome: Benvenuto sul Sito

en:

welcome: Welcome to the Website

application_helper.rb

def say(string)

RedCloth.new(@lang[session[:language]][string]).to_html

end

Quoting Emanuele Tozzato <etozzato@gmail.com>:

I want to customize notices and interfaces, would you use session[:language]
and a YAML file ?
I don't want things automatically translated, just accurate text in Italian,
Portuguese and English!

I use Globalite,http://code.google.com/p/globalite/. There are many, see http://wiki.rubyonrails.org/rails/pages/InternationalizationComparison. And a "standard" way is coming in Rails
2.2, see
http://www.artweb-design.de/2008/7/18/the-ruby-on-rails-i18n-core-api. And
Google will find even more.

HTH,
  Jeffrey