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

[eluser]fauria81[/eluser]
Hi everybody!

Ive just started a new project using Codeigniter (i have done a couple more before), but this time i need to go multilingal (10 languages, including latin, cyrilic, arabic, chinese and japanese).

I would like to optimize the website for SEO, and regarding URL's, ive think on something like:

http://en.example.com/search/products/keyword: Search for products containing 'keyword' in English.
http://es.example.com/busqueda/productos/palabra: Search ('busqueda') for products ('productos') containing keyword ('palabra') in Spanish.

Basically i need both controllers class names and methods in several languages.

I think i can use
Code:
_remap()
on my controllers, and tweak
Code:
routes.php
to handle the first segment of the URL and force a language.

If http://www.example.com/whatever is used, i think i will determine the language via IP, and then redirect to http://xx.example.com, or fallback to English by default, but maybe another approach would be more desirable.

Any suggestions would be appreciated. Thank you very much!


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