Subject: | Fallback language without prefix? |
Date: | Mon, 17 Jun 2013 19:23:56 +0200 |
To: | bug-Catalyst-Plugin-I18N-PathPrefix [...] rt.cpan.org |
From: | jibrvi [...] gmail.com |
Hi, nice plugin!! You stated that it is an ALPHA version, but it runs pretty good for me.
I have a request (or maybe I do not know how to accomplish it).
For Google SEO it should be great if the fallback language is just the default url, without language prefix.
I am using uri_for(), so every link gets its language prefix:
http://www.mysite.com/es/contact
http://www.mysite.com/en/contact
http://www.mysite.com/pt/contact
But if the first, main, fallback language for the site is spanish, for example, it is cleaner without the prefix.
http://www.mysite.com/contact
http://www.mysite.com/en/contact
http://www.mysite.com/pt/contact
Surely I can do it building urls by hand in the templates, but everything is done with uri_for(), as it is said as a "good practice" in Catalyst.
Regards:
Ignacio