Welcome Guest, Not a member yet? Register   Sign In
Leanest way of going multilingual
#3

[eluser]fedeisas[/eluser]
[quote author="n0xie" date="1286548314"]I found this to be the easiest to use when dealing with multiple languages: http://maestric.com/doc/php/codeigniter_i18n[/quote]

I've also used this library and it rocks! Altough, you'll have to write some routes for your controllers. I mean:

$route['(:any)/busqueda/productos/(.+)$'] = "search/products/$1";
$route['(:any)/search/products/(.+)$'] = "search/products/$1";

To avoid doing this, some folks use some urls like this:
www.example.com/buscar/productos/computadores/sp-1
www.example.com/search/products/computers/sp-1

And the real WORKING part of the url, is the last segment. So, their controller get the last segment and SP-1 stands for Search Product with ID = 1.
This unorthodox method works right when you need multilingual URLs.

Although I'm not really sure how this pretty URLs impact on SEO rankings.

Good Luck


Messages In This Thread
Leanest way of going multilingual - by El Forum - 10-08-2010, 02:53 AM
Leanest way of going multilingual - by El Forum - 10-08-2010, 03:31 AM
Leanest way of going multilingual - by El Forum - 10-09-2010, 07:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB