Hi guys,
I think we can make this a bit more useful since are going into this
direction.
Let's call this new User Field - PreferredLanguageId (default NULL)
and store there user Language selection. It can be changed by 2
places:
1. Drop-down with currently available Languages (need to count in
SiteDomain options) on User Profile form - user can select and save.
2. OnChangeLanguage on Front-end - when user changes the language we
can change his PreferredLanguageId too.
NOTE that NULL will indicate that we need to use Site Primary language
for this User.
Once this all is in place we can:
1. Add functionality for all Email Events to resolve the issue
described by Phil
2. Auto Load users language (do redirect if needed) on Login if
currently loaded and preferred languages are different.
Please share your opinions on above.
DA
On Nov 15, 3:06 pm, "Phil --
wbtc.fr --" <
p...@wbtc.fr> wrote:
> the field you are suggesting seems a good idea. If it's filled by default
> with current lang, it'd be even better :)
>
> 2010/11/15 Alexander Obuhovich <
aik.b...@gmail.com>
>
>
>
>
>
>
>
> > This problem was already discussed in site domain context, where last used
> > by user language should be remembered in orders, user creates.
>
> > We could actually make this as setting on user profile, like "Preferred
> > Communication Language". This will be Front-end language, that user used
> > last.
>
> > On Mon, Nov 15, 2010 at 7:37 PM, Dmitry Andrejev <
dandre...@gmail.com>wrote:
>
> >> Yes, it's something we should look into.
>
> >> Thanks Phil.
>
> >> DA.
>
> >> On Mon, Nov 15, 2010 at 11:34 AM, Phil --
wbtc.fr -- <
p...@wbtc.fr>wrote:
>
> >>> Hello,
>
> >>> when you are in admin and perform an action which makes inportal sending
> >>> an email (validate an user, approve an order, decline a link...), mail is
> >>> sent to user using lang pack you are using in admin, instead of using at
> >>> least default language, or maybe lang used by user when he registered.
>
> >>> I suggest here to remember lang used when user register, or lang used
> >>> when creating a link, and order...
>
> >>> p
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "In-Portal Bugs Team" group.
> >>> To post to this group, send email to
in-port...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>>
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>
http://groups.google.com/group/in-portal-bugs?hl=en.
>
> >> --
>
> >> Best regards,
>
> >> Dmitry A.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "In-Portal Bugs Team" group.
> >> To post to this group, send email to
in-port...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> >> .
> >
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .