francesc / rails-translate-routes

MIT License
147 stars 50 forks source link

Locales without downcase #28

Closed eltercero closed 12 years ago

eltercero commented 12 years ago

I removed the call to the downcase function in the creation of routes because there are some locales that use the caps letters. For instance, simplified chinese is "zh-CN". And it's kind of weird having all the rails urls with zh-CN except the translated ones.

The only drawback is that it has to be well written in the YAML, but I think it's the correct way.

Thanks!

francesc commented 12 years ago

Seems ok to me, I'll try to make a new release with this and #27 later on today or next tuesday. Thanks.

francesc commented 12 years ago

Just released a new version. Let me know if there's any problem. Also added you to contributors list. Thanks!

eltercero commented 12 years ago

Thanks to you, Francesc! :)