Language override issue

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #140998

-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.17

Hello,

I'm using Hikashop Business edition over joomla 2.5.17
When i change the status of an order and ask to notify the customer,
The email and email subject is getting the translation directly from the
translation file instead of getting it from the override file...
This happens only on the "Order status notification" email.
On all other emails the translation works great.

Can you please help solving this?

Thanks in advanced,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141024

Hi,

It is when you change the status in the order listing or in the order edition ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141033

Hi,

It happens on both:
when i change the status in the order listing
or when i change the status in the order detail page.

Thanks in advanced,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141293

Hi,

If you edit the email "order status notification", what do you see in the "Email subject" field ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141355

Hi,

the "Email subject" field have the value: ORDER_STATUS_NOTIFICATION_SUBJECT
and this also gets the translation directly from the language file
and not from the override file.


Regards,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141465

Hi,

Please provide the translation line for the key " ORDER_STATUS_NOTIFICATION_SUBJECT " in your override file.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141468

Hi,


Here is the translation from the override file:
ORDER_STATUS_NOTIFICATION_SUBJECT="הזמנה מספר %s באתר %s %s"


Regards,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141474

Hi,

Do you see the other overrides in your website ?
The problem is that I can't reproduce your problem, the translations for this key works goods under my local Joomla 2.5 website.
The text is right translated in the code so the only possibility I see is that, the override file is not loaded correctly (a reason will be an error in the file).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141483

Hi,


Well, yes i do have other overrides and they all work as they should.
I even have overrides in hikashop that works perfect
including overrides in all other emails that are produced in hikashop.
Everything works great instead of the Status update email...

for example i have an override for the key BEST_REGARDS_CUSTOMER.
This override works great in the "Order creation notification" email in hikashop
but does not work in the "Order status notification" email...

Regards,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141678

Hi,

After more testing it seems like a sort of a bug in hikashop.

I've just installed a new clean hikashop buisiness copy on a test server i have,
Then i created a simple override file with just the following line:
ORDER_STATUS_NOTIFICATION_SUBJECT="test"

Then i changed an order status and the email subject was
as in the language file and not "test" as it should be...

BTW: If i select english as the language of the site,
Then it works OK. this happen only on hebrew language (and maybe other
languages as well).

Can you please check it out?

Thanks in advanced,
Yossi Golan

Last edit: 10 years 9 months ago by yossigolan.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141824

Hi,

The nofification email uses the user language.
HikaShop will load another language depending the user and will try to load the override language too.

Does the rest of the content of the email is right ?
Does the overrides in your english language file influence the mail in the other language ?

Maybe the system (Joomla) have some troubles to reload an override file from another language.
At this moment we will have to find a way to force it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #141829

Hi,

No, none of the content of the notification email is right.
The override of the english language file doesn't influence the mail in the hebrew language.

I don't think it is a joomla issue since the overrides are working perfect
all over the site including hikashop. as i said the rest of the hikashop
emails are working perfect too.
The only issue is with the notification email that refuses to use the
overrides files in hebrew...
This makes me think that the issue is with this email only,
maybe something in the code makes it skip the overrides when it comes
to hebrew (and maybe other non english languages).

I think that If you will change the language in your test site to hebrew
you will be able to reproduce this issue.

Thanks in advanced,
Yossi golan

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
10 years 9 months ago #142686

Hi Yossi,

if the issue is only for this email maybe it might be because you edited it.
Did you apply any modification to this specific email? If yes, try to remove the customization and see if it fixes the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
10 years 9 months ago #142736

Hi,


Well, to make sure it is not an issue with my website or
with any changes i've might made, I've installed a new and clean
hikashop on a test server i have and the issue still exist.
(I didn't made any modification on this installation).

It seems like an issue with hikashop not handeling hebrew (and probably other non english
languages) well in this email only...

Can you please try to reproduce this issue in your test enviornment?
(just change joomla language to hebrew and i belive you will
encounter the same issue as i have).

Thanks in advanced,
Yossi Golan

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
10 years 9 months ago #143506

Hello Yossi,

I tried, spent some time and the issue was really stupid.
We just don't have a translation in Hebrew for these sentences...
Solution is super simple: go in language in your configuration and replace the english translation in your file for THANK_YOU_FOR_YOUR_ORDER_BEGIN and PAY_NOW. Feel free to submit your translation so we can include it in our next release!

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum