Queued Emails i18n

Open to all! Ask other shopowners for help.
User avatar
burt
Core Team
Posts: 4547
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Queued Emails i18n

Post by burt »

You're a pal, TY for taking the time to help out.
I am not here to build for you.
I am here to build with you. Let's help each other.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4547
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Queued Emails i18n

Post by burt »

1.1.0.5
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
Pierre_P
Contributor
Posts: 144
Joined: Fri Mar 12, 2021 5:06 am
Phoenix Version: v1.1.0.6
Has thanked: 21 times
Been thanked: 11 times

Re: Queued Emails i18n

Post by Pierre_P »

When in admin/outgoing.php and using Insert New E-mail, everything saves except the language id which is not included in $sql_data part for outgoing/save.php
User avatar
burt
Core Team
Posts: 4547
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Queued Emails i18n

Post by burt »

TY.

What's the answer? I guess a dropdown that allows shopowner to select which language?
That would likely be simplest?
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
Pierre_P
Contributor
Posts: 144
Joined: Fri Mar 12, 2021 5:06 am
Phoenix Version: v1.1.0.6
Has thanked: 21 times
Been thanked: 11 times

Re: Queued Emails i18n

Post by Pierre_P »

Well thats a pickle, how to know what language the customer used?
For testing i just added for the 3 files under includes/modules/outgoing 'languages_id' => (int)$_SESSION['languages_id'] to get rid of the warnings
User avatar
burt
Core Team
Posts: 4547
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Queued Emails i18n

Post by burt »

Exactly. Now you are thinking like a developer.

Going by your first name, a shopowner might use French for you.
But I think that might be very incorrect?

That change you made will make inserted e-mails be the language that the shopowner is using in the admin.
Which might be OK ?

--

More feedback needed.
People, please get involved, your advice is important.
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4547
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Queued Emails i18n

Post by burt »

Little interest, so I've done what I believe is best.
If it turns out not to be, we can re-visit.

1.1.0.5
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply