Internationalization (i18n) - Default language - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Internationalization (i18n) - Default language (/showthread.php?tid=961) |
Internationalization (i18n) - Default language - levipadre - 02-01-2015 Hi, How can I set up the default language with this structure? I have two predefined language: domainname.com/en/pagename domainname.com/de/pagename Both are working perfectly, but when I type domainname.com/pagename , the page is jumping to the main page (domainname.com). I want make the english default, but without any redirection. So when I type domainname.com/pagename, that should be the english version as well (domainname.com/en/pagename). Does anybody know how can I do? Thanks, |