There are some plugins out there for translations/internationalization
of rails apps. Some of them use gettext. 

I'm using globalite (http://code.google.com/p/globalite ) to i18n'ish a
rails app now and I think it would be relative easy to internationalize
insoshi. 

I have used Globalize (http://wiki.globalize-rails.org) in the past too
but it looks like it's not available now.

Kless, be careful using sed to "translate". You could totally mess the
code since ruby have an english-like syntax. 

If you want to translate like that (and not use a plugin) I would
recommend to dive into code, reading and taking decisions about what to
translate and how. Translation is not just about word substitution,
maxime when rails heavily use validations messages, pluralization and
other language specific stuff in it's "magic".

Ehlo, in ruby you could do it with gettext too but I think that is
better to use a "ruby-like solution" that uses inflections, override
validation messages, etc and don't mess with other things.

Anyway take a look at http://agilewebdevelopment.com/plugins there are
lots of solutions for many problems.

cu

Jorge

On Wed, 2008-05-14 at 21:26 -0700, Ehlo wrote:
> Ok, well it do the job for you, which is actually important.
> 
> I'm more looking into a more "proper" way of doing it. I used in the
> past (with php) getext which was quiet fine.
> However I don't know how it work with rails.
> 
> I will probably do a French translation, so it's look like we got 2
> languages already ;-)
> 
> See you,
> E
> 
> BTW: Are you on the developer site (http://dogfood.insoshi.com) ?
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to