Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️⚠️⚠️ SELLER PACKS SUBSCRIPTION - Email "Vendor Dokan Vendor Enable" email template > not translated - even if vendor orders pack in another language and has his default language set up to it #64

Open
Sophie-2e opened this issue Apr 5, 2024 · 14 comments
Assignees

Comments

@Sophie-2e
Copy link

Following up on customer support ticket #55591

I noticed a bug with the SELLER PACKS SUBSCRIPTION for the Email "Vendor Dokan Vendor Enable" email template > even if email is translated, for example for french, if vendor orders the pack in French and has his default language as French, he still receives the email in English (default website language) instead of french.

In this video you can see that he has ordered in French from 21min: ask video in customer support ticket #55591

And in this video (no sound) you can see that the email settings and content are translated and that the user default language is set up to french but the email received is in english: ask video in customer support ticket #55591

Please check it out and fix it

@Sophie-2e Sophie-2e changed the title SELLER PACKS SUBSCRIPTION - Email "Vendor Dokan Vendor Enable" email template > not translated - even if vendor orders pack in another language and has his default language set up to it ⚠️⚠️ SELLER PACKS SUBSCRIPTION - Email "Vendor Dokan Vendor Enable" email template > not translated - even if vendor orders pack in another language and has his default language set up to it Apr 5, 2024
@Sophie-2e
Copy link
Author

Still not with Dokan 3.11.0

@Sophie-2e
Copy link
Author

and still bugging with dokan 3.11.1...

@Sophie-2e
Copy link
Author

2 months later still no news on when this will be fixed...

@Sophie-2e
Copy link
Author

...Update Dokan 3.11.4 + Pro 3.11.3, still not fixed. Only received email in website default language even if email content is translated.

@Sophie-2e
Copy link
Author

...Update Dokan 3.11.5 + Pro 3.11.4, still not fixed. Could you please assign someone @imtiaz-pranto? Thanks for your help

@Sophie-2e
Copy link
Author

Hello @imtiaz-pranto can you help me get this resolved? It is quite urgent but no one seems to be assigned even after that the Support Team has reported the issue to the dev team several times on their side too over the last few months. Thanks for your hep 🙌

@Sophie-2e Sophie-2e changed the title ⚠️⚠️ SELLER PACKS SUBSCRIPTION - Email "Vendor Dokan Vendor Enable" email template > not translated - even if vendor orders pack in another language and has his default language set up to it ⚠️⚠️⚠️ SELLER PACKS SUBSCRIPTION - Email "Vendor Dokan Vendor Enable" email template > not translated - even if vendor orders pack in another language and has his default language set up to it Aug 31, 2024
@MdAsifHossainNadim MdAsifHossainNadim self-assigned this Sep 23, 2024
@imtiaz-pranto
Copy link

@pronob1010 bhai, please consult with @getdokan/support for solving this issue.

@pronob1010
Copy link
Contributor

@imtiaz-pranto Thank you for assigning me. Let me replicate and hope you will receive an update soon.

@shohag121
Copy link
Member

@pronob1010 @MdAsifHossainNadim Bhai, Did you follow this documentation?

@pronob1010
Copy link
Contributor

@pronob1010 @MdAsifHossainNadim Bhai, Did you follow this documentation?

Yes, I have checked out all the mentioned areas. The main issue is that setup_locale cannot detect the vendors' local language. I attempted to retrieve the preferred language from the user data manually.

$vendor_locale = get_user_meta( $seller_id, 'preferred_language', true );

if ( ! empty( $vendor_locale ) && $vendor_locale !== get_locale() ) {
        switch_to_locale( $vendor_locale );
}

However, this approach also did not work.

@Sophie-2e
Copy link
Author

Hello @pronob1010 @shohag121

Still bugging with Dokan 3.12.5. When can we except a fix?

@pronob1010
Copy link
Contributor

@Sophie-2e I've recently been assigned to this issue and noticed it's a corner case. I'm working on it and expect to have it resolved soon. I apologize for the delay, and thank you for your patience.

@pronob1010
Copy link
Contributor

@imtiaz-pranto Bhai, I tried to reproduce this issue and I think this issue has been resolved with a previous PR.

Image
Image

Could you please check? Let me know if I missed anything.

@pronob1010
Copy link
Contributor

@StalinDurjo Bhai is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants