From: Gregory Brown Date: 2009-02-14T02:27:53+09:00 Subject: Re: Recommendations for localization on Ruby 1.9? On Fri, Feb 13, 2009 at 12:02 PM, Suraj Kurapati wrote: > Gregory Brown wrote: >> Although I have some experience with the m17n framework in Ruby 1.9, I >> don't know a lot about localization tools, which is the other side of >> the internationalization coin. > > What do you mean by localization tools? GUIs or text editor plugins > that make it easy to edit GNU gettext .po translation files? There's > lots of those on http://freshmeat.net No, I mean libraries for handling translation files within an application. >> If there aren't good tools out there for this already and you have >> a hand rolled solution, I'd be happy to look at that too. > > I have[1] a very simple hand-rolled solution (a Hash with a > Kernel#sprintf interface) which ignores character encoding at the moment > because I've been relying on YAML to detect & handle the encoding > issues---so far it works great for Unicode and the latin ISO charsets. Thanks for sharing. I really want to show something that doesn't ignore character encoding if possible, but I could look into this if there aren't better options. -greg -- Technical Blaag at: http://blog.majesticseacreature.com Non-tech stuff at: http://metametta.blogspot.com "Ruby Best Practices" Book now in O'Reilly Roughcuts: http://rubybestpractices.com