• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Route names from database & i18n

#1
Lightbulb 
Hello,

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

example:
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?

Thanks
.Stefano
Reply

#2
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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.