• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Routing translation

#1
Hello,

I'm using URI Language Identifier library to internationalize my website :
https://github.com/bcit-ci/CodeIgniter/w...Identifier

With this Helper we can have url like this : 
- /mywebsite/fr/home
- /mywebsite/en/home

But I'm searching a smart and simple solution to create easily urls like this : 
fr -> /mywebsite/accueil 
en -> /mywebsite/home

I was wondering if it was possible to use the language files in the routes to avoid duplications ?

Thank you
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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