Automatic Email are Sent Using Admin Lang

2 views
Skip to first unread message

Phil -- wbtc.fr --

unread,
Nov 15, 2010, 12:34:14 PM11/15/10
to in-port...@googlegroups.com
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

Dmitry Andrejev

unread,
Nov 15, 2010, 12:37:22 PM11/15/10
to in-port...@googlegroups.com
Yes, it's something we should look into.

Thanks Phil.

DA.

--
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.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--


Best regards,

Dmitry A.

Alexander Obuhovich

unread,
Nov 15, 2010, 4:01:25 PM11/15/10
to in-port...@googlegroups.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.

Phil -- wbtc.fr --

unread,
Nov 15, 2010, 4:06:21 PM11/15/10
to in-port...@googlegroups.com
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....@gmail.com>

Dmitry A.

unread,
Nov 18, 2010, 2:22:10 PM11/18/10
to In-Portal Bugs Team
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>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/in-portal-bugs?hl=en.
>
> > --
> > Best Regards,
>
> >http://www.in-portal.com
> >http://www.alex-time.com
>
> > --
> > 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>
> > .

Alexander Obuhovich

unread,
Nov 18, 2010, 2:47:05 PM11/18/10
to in-port...@googlegroups.com
ok.

To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Phil -- wbtc.fr --

unread,
Nov 18, 2010, 5:04:05 PM11/18/10
to in-port...@googlegroups.com
seems perfect.

2010/11/18 Alexander Obuhovich <aik....@gmail.com>

Dmitry A.

unread,
Nov 18, 2010, 5:50:54 PM11/18/10
to In-Portal Bugs Team
New feature request has been filed (sorry it's not in the right
group):


929: Ability to have Preferred Language for Front-end Users

http://tracker.in-portal.org/view.php?id=929


Note this is feature request and not a bug.


DA

On Nov 18, 4:04 pm, "Phil -- wbtc.fr --" <p...@wbtc.fr> wrote:
> seems perfect.
>
> 2010/11/18 Alexander Obuhovich <aik.b...@gmail.com>
>
>
>
>
>
>
>
> > ok.
Reply all
Reply to author
Forward
0 new messages