Fabio Riga, 2009-11-03 02:01: > Sorry, I don't understand what you mean. The idea is to (1) have a > branch for every language? Translators directly write in the code? > Or (2) "original language as key" means a way to substitute "on the > fly" the original string with another one in the current locale?
The second one, yes. God save us from the first! > So, I played a little with irb... do you mean something like: > > class String > def t > l10n_hash[self] || self > end > end Exactly. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/ _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk