[LRUG] Multi-language support

Omar Qureshi omaraliqureshi at googlemail.com
Tue May 18 01:16:51 PDT 2010


Personally, id have it as a subdomain - it's easier to get in.

Then change all your route helpers to use _path instead of _url and that
*should* pretty much work

On Tue, May 18, 2010 at 8:09 AM, Jordi Noguera Leon <
jordinoguera83 at gmail.com> wrote:

> I18n seems good enough for the views, still not sure about the db records
> translations...
>
> My client is asking to specify the language doing something like this :
> www.whatever.com/en/... is there a way to do it without having to change
> all the links?
>
>
> On 17 May 2010 17:38, Priit Tamboom <priit at mx.ee> wrote:
>
>> On 17 May 2010 15:01, Jordi Noguera Leon <jordinoguera83 at gmail.com>
>> wrote:
>> > Hi!
>> > Can anyone share their experiences/recommendations regarding adding
>> > multi-language support to a website? I need to add a language to the
>> views
>> > and DB entries...
>> > Cheers,
>> > Jordi
>>
>> For translating views, I would go with rails default I18n way for
>> sure. I have used Gettext before, no bad word however nowadays for new
>> projects always using I18n.
>>
>> Things get a bit more complicated about model translations, however
>> currently Globalize2 have served me well.
>>
>> Cheers,
>> Priit
>> _______________________________________________
>> Chat mailing list
>> Chat at lists.lrug.org
>> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20100518/d2d03625/attachment-0003.html>


More information about the Chat mailing list