Hi guys, I'm working at a website that, among the other things, the client has requested to be multilingual. The way I envisage it to work is this: if you browse the site from, say, Italy, you get the italian version (with the option to change the language to english of course), otherwise, from anywhere else, you get the default english version, but again with the option to change the language to italian if you wish to (with the option to be able to increase the number of languages). I'm planning to keep only one URL (www.mysite.com) regardless of where you browse from I'm not using any CMS or anything, and that's why I'm not sure what the best way to proceed is. I know that some platforms are offering some nice plugins just to solve issues like that, but I don't want to be using Wordpress or whatever only for that reason (and besides the site is almost ready and I really don't want to re-do the whole thing with wordpress). My site has no CMS at all and I'm not using any funky platform. Can anybody help me thinking of a good solution (got to admit I'm not particularly good in the subject)? Also any advice in general is appreciated
Recommended Answers
Jump to PostIMO detecting the users' language set in his/her browser is a more user friendly way to redirect, then based on the location.
Jump to PostI did something similar in the past for a client with PHP and .htaccess. There are ways to have all your languages in the page(s), but I had subdirectories like so www.example.com/en/, www.example.com/de/ etc. but this can also be subdomains of course. I will look for the necessary scripts and …
Jump to PostYou can have a number of choices.
1. Create multiple versions of the site in different folders - this not recommended as a change to HTML has to be repeated in each version. It's a pain.
2. Set up your pages like templates with placeholders for translatable text - you …
Jump to PostYes, .htaccess is for Apache servers, but there will definately be a web.config equivalent for IIS. The pages are indeed in PHP, but converting these little snippets to ASP won't be such a hassle I guess.
The directory/file structure you have shoul do the job, but there comes nothing in …
All 16 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.