CodeIgniter Forums
Using URI Language Identifier - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Using URI Language Identifier (/thread-66118.html)



Using URI Language Identifier - JackWhite - 09-07-2016

Hello!

Currently I'm trying to add multi language support for my website.
I stumbled upon this URI Language Identifier, which seems to work great and adds the needed language abbreviations to the URI, which seems to be a good idea for SEO.

But I've encountered the following problem:

Let's say the website's main language is english and secondary language is german.
The websites URI looks like this - www.example.com/en or www.example.com/de

Is it possible for the default language to remove the language abbreviations from the URI, so I would get www.example.com for my main language and www.example.com/de for my secondary language?

Or perhaps anyone could suggest a better library for this?

Any input is greatly appreciated.


RE: Using URI Language Identifier - salain - 09-07-2016

Have a look at this.
Multi language with CodeIgniter


RE: Using URI Language Identifier - JackWhite - 09-09-2016

(09-07-2016, 06:52 AM)salain Wrote: Have a look at this.
Multi language with CodeIgniter

Thanks for the suggestion!
It provides a lot of useful information.