using gettext for rails l10n

Hi,

as we build an international application we need a translation mechanism for ruby on rails. i did some research and found that gettext is supported best and has a nice documentation. GetText Documentation

good :
- translations are not stored in the database
- translation is done with _(’string’) - so it`s easy to implement
- gem install gettext :)
- there is an editor for editing the translations - poedit
- the catalog can be build from your _(’string’) entries in your model,controller and views

bad :
- po files need to be converted to mo files and then are useable from the system

trap :
- first add gettext to your application.rb and then do the rake tasks

ajaxiator | Posted in ruby on rails |

Bookmark on del.icio.us  Bookmark on del.icio.us     Bookmark on digg  Bookmark on digg

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.