whitedragon Posted May 3, 2010 Share Posted May 3, 2010 Hi, I'm a newbie with php. I know it is possible to set multi-languages for a php site, but is linking to a specific page with a specific set language within a website possible? The homepage has a set default language and the other languages are set by users clicking on the language after the homepage with the default language is accessed. Thanks. Quote Link to comment Share on other sites More sharing options...
ignace Posted May 4, 2010 Share Posted May 4, 2010 Yes, this is perfectly possible. By default your URL will look like (and all translations will translate to this one): http://www.domain.top/my/page Your database provides translations for my & page for other languages, so in Dutch I would be able to access your page like: http://www.domain.top/mijn/pagina Or in French: http://www.domain.top/mon/page Based on the locale (fr_FR, nl_BE) you would translate everything after domain.top to your default language (hence the word translation). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.