[Skip to main content](#vessel-content)

#   "Confirmation of your order" email not translated

##

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 4 months ago [\#272292](#272292) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272292 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")* was created by *[peteo](/forum/user/33887-peteo "View peteo's Profile")*

-- HikaShop version -- : 3.1
-- Joomla version -- : 3.7
-- PHP version -- : 7.1

In general the email translation for en/de works but the "Confirmation of your order" email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 4 months ago [\#272295](#272295) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272295 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

Hi,

HikaShop, when creating the order stores the current language in the order_lang column of the hikashop_order table.
So you can check that this is set properly in your database via your phpmyadmin. If that column is missing, you might want to click on the "check database" button of the HikaShop configuration in order to add it.
Then, the system uses that language when sending notification emails for the order.
It is done in the loadLocale function of the file administrator/components/com_hikashop/classes/order.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")**
- [![earmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35023-earmaster "View earmaster's Profile")
- [ Offline](/forum/user/35023-earmaster)

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 4 months ago [\#272397](#272397) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272397 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

Hi nicolas

We seem to be having the exact same issue as described above, we have followed the instructions in regards of checking the order_lang column (the languages are appearing correctly in the database as "es-ES" for spanish and "en-US" for english, and so on). We have also tried the "Check database" in the hikashop configuration, but the issue still prevails.

This issue only seems to occur when the function onPaymentNotification(&amp;$statuses) is called in the selected payment plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 4 months ago [\#272401](#272401) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272401 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

Hi,

The function onPaymentNotification calls the modifyOrder function which itself calls the save function of the file administrator/components/com_hikashop/classes/order.php which then calls the loadLocale function I was talking about.
So it's really there that the debugging is necessary if you have a problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")**
- [![earmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35023-earmaster "View earmaster's Profile")
- [ Offline](/forum/user/35023-earmaster)

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 4 months ago [\#272497](#272497) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272497 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

Hi Nicolas

I have looked into the modifyOrder function and the save and loadLocale function in order.php file, and everything appears to be as it should. This issue also seems to affect the paypal payment plugin as the confirmation emails sent from there after the payment has been processed aren't translated either, even though the initial "order placed" email was sent in the correct language.

In my attempt to locate the issue, I also noticed that when changing an order status manually in the backend and set the "notify customer" to yes, the email is translated but the subject is not. However, if you view a specific order in the backend and click on the "Email" button (Next to the invoice, shipping invoice and back buttons), neither the subject or email are translated.

It worked as it should before we updated from 3.0.1 to 3.1.1, so the update seems to have broken that functionality

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 4 months ago [\#272503](#272503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272503 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

Hi,

I've checked the change log on my end but I don't see anything between the 3.0.1 and the 3.1.1 which could be related to that, and I also don't remember anything that could be linked to that going haywire with the update.

Could you provide a backend access, a FTP access and the instructions to reproduce the problem on your website ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[peteo](/forum/user/33887-peteo "View peteo's Profile")**
- [![peteo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33887-peteo "View peteo's Profile") Topic Author
- [ Offline](/forum/user/33887-peteo)

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 4 months ago [\#272556](#272556) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *["Confirmation of your order" email not translated](/forum/10-translation/890793-confirmation-of-your-order-email-not-translated#272556 "-- HikaShop version -- : 3.1 -- Joomla version -- : 3.7 -- PHP version -- : 7.1  In general the email translation for en/de works but the &quot;Confirmation of your order&quot; email is always sent to the customer in English instead of German when the checkout was done in German. How would I debug that?")*

In my case translation works now. Either we translated the wrong strings earlier or it was fixed with the tatest commit.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg5MDc5My1jb25maXJtYXRpb24tb2YteW91ci1vcmRlci1lbWFpbC1ub3QtdHJhbnNsYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
