|
| Can I Change The Language For Each Anonymous Individual? |
 |
Sat, 7 Oct 2006 14:43:00 +0000 |
Hy,
I would like anonymous users to be able to select their preffered language using
just the language combo which would be available on the home page.
I have tried to update the anonymous profile when the new language was selected,
but nothing happened.
I think that this is due to the fact that anonymous users either do not have
profiles, or they have read only access to it.
Any thoughts?
Thanks,
Vali
|
| Post Reply
|
| Re: Can I Change The Language For Each Anonymous Individual? |
 |
Sat, 7 Oct 2006 18:11:51 +0000 |
I think this is due to the fact that anonymous users do not have profiles, and
hence cannot set their language preference.
Also, here is a tool for localization. The downloads are also in the CS download
section...
|
| Post Reply
|
| Re: Can I Change The Language For Each Anonymous Individual? |
 |
Sun, 8 Oct 2006 08:10:44 +0000 |
I have already been using that tool to localize CommunityServer.
The problem I am facing is the following: I want users to be able to select a
language when viewing the web site without the need of loging in.
Example:
User A = CommunityServer.Users.GetAnonymousUser();
A.Profile.Language = AnonymousLanguage.SelectedItem.Value;
ok = CommunityServer.Users.UpdateUser(A);
Thanks,
Vali
|
| Post Reply
|
| Re: Can I Change The Language For Each Anonymous Individual? |
 |
Mon, 9 Oct 2006 01:06:46 +0000 |
That doesn't make logical sense.
I mean, there is only 1 "physical" anonymous user, so if 10 visitors
come to your site and each 1 keeps flipping the language, how is it going work
?
|
| Post Reply
|
| Re: Can I Change The Language For Each Anonymous Individual? |
 |
Mon, 9 Oct 2006 19:02:32 +0000 |
I think the first line could be replaced with:
User A = CSContext.Current.User;
But I am not sure that it will return the anonymous user, or an anonymous
visitor. Either the cases, I would even be happy if I could change the language
for the anonymous user.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|