How do you add subdirectories localization to your website?
#1

Hi guys, I'm still learning stuff and need some help. How do you add subdirectories localization to your website? Some websites uses subdirectories for languages for example www.website.com/en/ or www.website.com/fr/. I'm currently using URL parameters for my website which would be www.website.com?lang=en and based on that I fetch data from my database. But I guess just www.website.com/en/ looks way better. So how do it do it? My website is not static so I cannot just create actual subdirectories plus I have over 40 languages/translated data in my database. Any help would be appreciated.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)