berk / tr8n

This repository has moved to:
https://github.com/tr8n/tr8n
MIT License
280 stars 37 forks source link

Performance #15

Closed rbjarnason closed 13 years ago

rbjarnason commented 13 years ago

We are interested in using tr8n in a Rails 3/1.9.2 app. Does anybody know how it compares in terms of performance with I18n running in production?

Best regards, Robert

berk commented 13 years ago

Geni.com and Yammer.com both use tr8n in production. Tr8n should be used with Memcached or some other caching mechanism. You can implement your custom cache adapter or use any of the existing ones that tr8n comes with. Once the translation keys and translations are cached, tr8n is very fast. But it still is not as fast as the static I18n. You have to realize that tr8n is made for an ongoing translation process. As long as you innovate (add/change text), your site will never be 100% translated. Tr8n significantly reduces the time for label organization/management and translation. And with the right configuration it is very fast as well.

rbjarnason commented 13 years ago

Thanks, sounds good.