CodeIgniter Forums

Full Version: Route names from database & i18n
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I need to implement a route system which takes route names from database and it's i18n compliant

site.example/en/articles/1 and site.example/es/articulos/1 and site.example/it/articoli/1 should use the same controller

I'm using codeigniter 2.x

do you have any suggestion and/or advise?

There are many different ways that this can be done, but my first suggestion would be to use CI 3.x instead of 2.x, if possible, because 2.x is only receiving security updates through the end of October.

If you search the forum for "internationalization", you'll find a few threads with some ideas and even some links to projects which might help with this.