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

#   No language override in email

##

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

15 years 1 week ago [\#28077](#28077) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  *[No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28077 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")* was created by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")*

If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example

HI_CUSTOMER="Hi %s,"

we have change to,

HI_CUSTOMER="Hello %s,"

It sends out emails with the greeting Hi.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yODA3Ny1uby1sYW5ndWFnZS1vdmVycmlkZS1pbi1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

15 years 1 week ago [\#28078](#28078) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28078 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")*

Language overrides cannot work in emails on joomla 1.6.0 and higher. That's because of the restrictions put in place in the Joomla library and there is nothing we can do about that.
If you just use one language, you should make your modifications directly in the email via the menu System-&gt;Emails.

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

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

15 years 1 week ago [\#28085](#28085) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28085 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")*

And is this the same for Joomla 1.5.24?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yODA3Ny1uby1sYW5ndWFnZS1vdmVycmlkZS1pbi1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

15 years 1 week ago [\#28086](#28086) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28086 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")*

No, it should work with 1.5

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

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

15 years 4 days ago [\#28502](#28502) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28502 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")*

Just been checking. It is not working in 1.5. Where should I be looking in the code? Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yODA3Ny1uby1sYW5ndWFnZS1vdmVycmlkZS1pbi1lbWFpbD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

15 years 4 days ago [\#28521](#28521) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: No language override in email](/forum/3-bug-report/28077-no-language-override-in-email#28521 "If you personalise any text, it shows up correctly in the website, but any language overrides that are in emails do not show up correctly. It always shows the original text. For example  HI&#95;CUSTOMER=&quot;Hi %s,&quot;  we have change to,  HI&#95;CUSTOMER=&quot;Hello %s,&quot;  It sends out emails with the greeting Hi.")*

It's in the function loadOrderNotification of the file administrator/components/com_hikashop/classes/order.php where the email is loaded.

Normally, the override is done automatically in joomla 1.6 and manually on 1.5 in the file amdinistrator/components/com_hikashop/helpers/helper.php :
$lang =&amp; JFactory::getLanguage();
$override_path = JLanguage::getLanguagePath(JPATH_ROOT).DS.'overrides'.DS.$lang-&gt;getTag().'.override.ini';
if(version_compare(JVERSION,'1.6','=')&amp;&amp;$app-&gt;isAdmin() &amp;&amp; file_exists($override_path)){
$lang-&gt;override = $lang-&gt;parse($override_path);
}
$lang-&gt;load(HIKASHOP_COMPONENT,JPATH_SITE);
if(version_compare(JVERSION,'1.6','&lt;') &amp;&amp; file_exists($override_path)){
$lang-&gt;_load($override_path,'override');
}

However, on joomla 1.6.1 and higher, the override system cannot be called from the back end. So all the backend and the emails sent from the back end cannot use the overridden translations.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yODA3Ny1uby1sYW5ndWFnZS1vdmVycmlkZS1pbi1lbWFpbD90bXBsPW1hcmtkb3du) 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.127 seconds

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

[](#top)
