Language translations in email

  • Posts: 15
  • Thank you received: 0
10 years 1 month ago #60975

Hi,

how and where to translate this text parts (see screenshot).
How and where to add text (see screenshot).

Regards,
Thomas


Attachments:

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

  • Posts: 25435
  • Thank you received: 3946
  • MODERATOR
10 years 1 month ago #60979

Hi,

You can edit the views "orderserial | show_email_notification_html" which are used during email generation.
There is one view for the back-end and one for the front-end.

To access to the HikaSerial views, you can use the HikaSerial menu "System > Views" or the HikaShop menu "Display > Views" (and selecting "HikaSerial" in the first drop down list, near the template selection).

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: 15
  • Thank you received: 0
10 years 1 month ago #61113

Hi,

need help. I'm no coder.



1. Can't find the language files to override for german language.
2. Tried to add text, but does not appear in customers email.

Regards,
Thomas

Attachments:

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

  • Posts: 25435
  • Thank you received: 3946
  • MODERATOR
10 years 1 month ago #61176

Hi,

There is not German translation file for HikaSerial for the moment.
HikaSerial 1.4.0 should have the same language manager than HikaShop, so you should easily override (and create) the languages files.

There is several solutions:

1. You can create manually your German translation file.
- Copy the en-GB.com_hikaserial.ini to de-DE.com_hikaserial.ini
- Edit the new german translation file and change the wanted translation.

2. Use the language override in HikaShop.
- HikaShop / Configuration (menu) / Language (tab)
- Edit the German language file
- Use the second textbox to create some override which would be used by HikaSerial too.

3. Put some hard coded text in your email.

<td style="font-weight:bold;background-color:#DDDDDD">Serial</td>
<td style="font-weight:bold;background-color:#DDDDDD">an Produkt</td>

Note: At the end of your email, you can put directly your text with using some PHP
<tr>
  <td>Verwenden Sie diese Aktivierrungsschlüssel zur Freischaltung jeweils eines Office Panorama</td>
</tr>
Or you can use new translation text like
<tr>
  <td><?php echo JText::_('BOTTOM_EMAIL_TEXT');?></td>
</tr>
And add a override line into the HikaShop german part:
BOTTOM_EMAIL_TEXT="Verwenden Sie diese Aktivierrungsschlüssel zur Freischaltung jeweils eines Office Panorama"

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.
The following user(s) said Thank You: tracer

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

Moderators: Obsidev
Time to create page: 0.074 seconds
Powered by Kunena Forum