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?<br><br><div class="gmail_quote">
On 18 May 2010 09:16, Omar Qureshi <span dir="ltr"><<a href="mailto:omaraliqureshi@googlemail.com">omaraliqureshi@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Personally, id have it as a subdomain - it's easier to get in.<div><br></div><div>Then change all your route helpers to use _path instead of _url and that *should* pretty much work<div><div></div><div class="h5"><br><br>
<div class="gmail_quote">On Tue, May 18, 2010 at 8:09 AM, Jordi Noguera Leon <span dir="ltr"><<a href="mailto:jordinoguera83@gmail.com" target="_blank">jordinoguera83@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I18n seems good enough for the views, still not sure about the db records translations...<div><br></div><div>My client is asking to specify the language doing something like this :<a href="http://www.whatever.com/en/." target="_blank">www.whatever.com/en/.</a>.. is there a way to do it without having to change all the links?<div>
<div></div><div><br>
<br><div class="gmail_quote">On 17 May 2010 17:38, Priit Tamboom <span dir="ltr"><<a href="mailto:priit@mx.ee" target="_blank">priit@mx.ee</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div>On 17 May 2010 15:01, Jordi Noguera Leon <<a href="mailto:jordinoguera83@gmail.com" target="_blank">jordinoguera83@gmail.com</a>> wrote:<br>
> Hi!<br>
> Can anyone share their experiences/recommendations regarding adding<br>
> multi-language support to a website? I need to add a language to the views<br>
> and DB entries...<br>
> Cheers,<br>
> Jordi<br>
<br>
</div></div>For translating views, I would go with rails default I18n way for<br>
sure. I have used Gettext before, no bad word however nowadays for new<br>
projects always using I18n.<br>
<br>
Things get a bit more complicated about model translations, however<br>
currently Globalize2 have served me well.<br>
<br>
Cheers,<br>
<font color="#888888">Priit<br>
</font><div><div></div><div>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>