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

#   email sent at status changes is only in English?

##

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

Less More

- Posts: 25
- Thank you received: 0
-
-

14 years 7 months ago [\#41986](#41986) by [Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")  *[email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#41986 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")* was created by *[Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")*

hi

when I change status of an order.. and select to notify the customer, then the email that is sent is only in English?
I can't seem to change it to Danish.. which is the language that the rest of the component is in..?

How to do that?

Front end language of site is Danish..
back end language of site is English..

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42058](#42058) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42058 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

Hi,

You should log into your backend in Danish and the email will be in Danish too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

14 years 7 months ago [\#42302](#42302) by [Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")  Replied by *[Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42302 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

yes, ok .. I figured that.. but can that be avoided.. I really HATE the danish backend... it's so much easier to administer the site in english, since all administration tools for other sites/programs etc. are in english....
Can't I force it to use Danish?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42468](#42468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42468 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

You can try to change the line:
$lang-&gt;load(HIKASHOP_COMPONENT, JPATH_SITE, $locale, true );
to:
$lang-&gt;load(HIKASHOP_COMPONENT, JPATH_SITE, 'da-DK', true );

in the file administrator/components/com_hikashop/classes/order.php
If that doesn't work then I don't see any other solution.

The following user(s) said Thank You: [jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")**
- [![jansuhr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6377.jpg)](/forum/user/6377-jansuhr "View jansuhr's Profile")
- [ Offline](/forum/user/6377-jansuhr)

Less More

- Posts: 182
- Thank you received: 15
-
-
- [](http://www.colorconsult.se)
-

14 years 7 months ago [\#42522](#42522) by [jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")  Replied by *[jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42522 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

That mod worked for me with Swedish.

Jan

---

Jan Suhr
[ www.colorconsult.se](http://www.colorconsult.se) [ www.jansuhr.se](http://www.jansuhr.se)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")**
- [![jansuhr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6377.jpg)](/forum/user/6377-jansuhr "View jansuhr's Profile")
- [ Offline](/forum/user/6377-jansuhr)

Less More

- Posts: 182
- Thank you received: 15
-
-
- [](http://www.colorconsult.se)
-

14 years 7 months ago [\#42525](#42525) by [jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")  Replied by *[jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42525 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

Isn't it possible to set the variable $locale to pick up the customers frontend language instead of picking up the admins language.

For a multilanguage shop the customers language should be prioritized over the admins language, in the order you know the customers ID and there fore it would be possible to pick up the customers language setting.

Jan

---

Jan Suhr
[ www.colorconsult.se](http://www.colorconsult.se) [ www.jansuhr.se](http://www.jansuhr.se)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42528](#42528) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42528 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

We actually have such code to get the front end user language.
But that only works when the user sets his language.
We also have some code to get the front end default language but it seems to not work anymore on new versions of Joomla.
Please change the code (there are 2 places where you need to do that): Code:

$config =&amp; JFactory::getConfig(); $locale = $config-&gt;getValue('config.language');

to: Code:

$params = JComponentHelper::getParams('com_languages'); $locale = $params-&gt;get('site', 'en-GB');

in the file administrator/components/com_hikashop/classes/order.php
and that should load the correct front end language.

The following user(s) said Thank You: [Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

14 years 7 months ago [\#42617](#42617) by [Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")  Replied by *[Symbiot](/forum/user/6370-symbiot "View Symbiot's Profile")* on topic *[Re: email sent at status changes is only in English?](/forum/2-general-talk-about-hikashop/41986-email-sent-at-status-changes-is-only-in-english#42617 "hi  when I change status of an order.. and select to notify the customer, then the email that is sent is only in English? I can't seem to change it to Danish.. which is the language that the rest of the component is in..?  How to do that?  Front end language of site is Danish.. back end language of site is English..")*

This works most excellent!!

Thank you all for your thoughts ideas and solutions!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQxOTg2LWVtYWlsLXNlbnQtYXQtc3RhdHVzLWNoYW5nZXMtaXMtb25seS1pbi1lbmdsaXNoP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.069 seconds

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