Posts Tagged: i18n

Text

I just stumbled upon a really interesting article which discusses the various name schemas used around the world. And although I thought I knew quite a bit about that topic, I never thought about the implications it has on web- and data design.

So if you are developing apps for people fromm various cultural backgrounds, do them and yourself the favor and read Personal names around the world @wrc and think about your forms and fields.

Now that I know all that stuff, I finally understand why I had to clean/modify quite a lot of data by hand in one of my recent projects.

Text

If your 2.3.5 start behaving strangely after installing rails3beta, it might be due to the I18n gem. Previous versions of rails came with an older packed version which was automatically loaded. Now with rails3 and 2.3.5 already, you can actually install the newer I18n gem yourself (and it actually gets loaded). So here is what you might wanna do:

  • Update your application to work with the new I18n API (what I did)
  • Require a specific older version of the gem (probably 0.2)
  • Uninstall the gem (which will break your rails3beta)

I would recommend updating your applications. It was a bit of a hassle for me, but this way I can be sure to be on the right path for the future. Or who does not want to use this really beautiful new query API?

Update: Please take care the the I18n.l(input, :format => ‘identifier_string’) is not working anymore. Instead of passing a string to format you should use a symbol instead.