svenfuchs/rails-i18n — pull request #232 by vits (2012-05-11 10:08:34+00:00)
Title: Latvian pluralization fixes

Hi,

I found that current Latvian locale is broken due to pluralization problems.

Pluralization rules recognize numbers ending with 11 as 'one' which is correct, but many translation strings for 'one' display '1' instead of actual value. Fixed that.

Removed 'zero' from pluralization rule. Maybe there are some theoretical edge cases where translation for 'zero' strings could differ from 'other', but it is almost forgotten in modern Latvian and there were no 'zero' translations anyway causing error when translating strings with :count => 0.

Fixed translation for billion - 'biljons' is never used in Latvian.

Changed some words to lowercase. In Latvian upercase use is context based.

I use different translation for many other strings as well, but they are not critical and are mostly individual preferences and corrections. Some of them could "break" existing translations for other people so I'm not sure if you are interested in including them in official plugin? I so I could prepare another branch to pull.