No, of course the user can change it.
This automatic detected language is only used, as long the user don't select another one or he has a cookie from an earlier vist. So it is really for users, that come the first time to your site, or has logged out, so the cookies were deleted.
When the users select another language, the selected language is taken and is not switched back to the automatic detected, because then there is an entry in the cookie.
Currently I am trying to use the standard-hooks, so no code-changes are needed at all. Maybe this evening there is an update for my hack.
Jörg
EDIT: I have updated the hack, so no more code-modification is necessary. Thanks very much to KirbyDE for his help.
|