[Rails-core] Localization ideas/proposal

Kyle Maxwell
Tue, 08 Nov 2005 01:40:43 -0000

Thanks for so much feedback so quickly!

This comes out of my need to get a Spanish version of a current
English website up in the next week so so.  I chose the quickest and
simplest idea that I could think of, that would allow me to contribute
back to the community and reuse code in the future.

So, I asked myself:
Q. Does it add value to Rails?
A. Yes, it solves my problem (And presumably, I''m not that unique.
I''m sure others want to store multilingual data in a database.  The
custom views might be a little more of an edge case).

Q. Does it screw other stuff up?
A. No.  It''s fully backwards-compatible, and you can still use gettext
where preferred.

Is it the best-possible solution?  Thats doubtful.  But this works and
is really simple.