[LRUG] Multi-language support

Jordi Noguera Leon jordinoguera83 at gmail.com
Tue May 18 01:38:52 PDT 2010


I agree, but my client doesn't want it this way for SEO reasons... So I'll
have to find a way to add '/en' (or whatever) to the beginning of my routes,
maybe overriding link_to and redirect_to?

On 18 May 2010 09:16, Omar Qureshi <omaraliqureshi at googlemail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/a76ca5e4/attachment.html>


More information about the Chat mailing list