Using /content/view/full/XXX/eng-GB is only meant to change the viewed language of a content object.
Changing the site language per user is not supported yet, as it is now it is always read from site.ini. A user should be able to set a preffered language for the site and also the possibility to change language by url could be interesting. I'll see if this can be added as a feature in upcoming releases.
So in this situation i don't understand the idea behind the internalisation / language concept ? Should we create different site's for each language and navigate the user to there when he want's to select the language ?
@Jan: for my current project i have an additional need. a user should be able to select his prefered language in which the site should appear and also enable additional languages in which he well see content which is not available in the main language ;-). Up to now i have found no system on the market with this feature.
So the only way to do this is create virtualhosts for all languages, configure the site.ini.php with hostmatchmap and change the locale settings for all VH.
Is there another way? Will exist onother options/way to do this?
You should create one siteaccess per language and one for the main site. I would also suggest using url based siteaccess matching, that way you can easily add new languages without specifying new hosts.
If you use two hosts one for admin and one for user you can use specify this in site.ini:
That way it will first try host matching and match the admin, if admin is not matched it will try url based using DefaultAccess if none is specified.
Then create one siteaccess per language for instance sp (spanish) and fr (french), you will then get url's like this:
/sp/content/view/full/2 and /fr/content/view/full/2. It can also be a good idea to use a different siteaccess for the default site to avoid urls like /user/content/view/full/2.
Well, first part os hostmap i understud (was what i posted before), but your idea of /en, /sp, /pt, etc sound very interesting, but i can't understand that (i never understud URIMatch :-( ). Can you give an example of that?