Name field translation

  • Posts: 153
  • Thank you received: 12
  • Hikashop Business
2 years 2 weeks ago #346396

-- url of the page with the problem -- : rolex.jewelrygoldfinger.com
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.5
-- PHP version -- : 8.1

Hello,

In mu products as well as in my filters name fields, I have some html markup, like for example:
DIAL <span>Cellini</span>

It seems that the html code prevents translation from working in the filters, and the translation is removed each time I'm opening the language screen in products.

Do you have an idea how I can fix this?

Thanks in advance

Sandra

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

  • Posts: 153
  • Thank you received: 12
  • Hikashop Business
2 years 2 weeks ago #346400

Update: I found a way to translate the Name field for my filters.
(But still don't know how to do for the product name field)

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 2 weeks ago #346398

Hi,

Instead of using "DIAL <span>Cellini</span>" for the name, use instead DIAL_CELLINI_NAME for example, and then, you can add a translation override ( www.hikashop.com/download/languages.html#modify ) :
DIAL_CELLINI_NAME ="DIAL <span>Cellini</span>"
That should avoid the issue with the special characters in the name.

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

  • Posts: 153
  • Thank you received: 12
  • Hikashop Business
2 years 1 week ago #346460

Hi,

Thanks Nicolas for your answer. It's why I did for the filter field name and it was working fine but I had issue wwith the name field of products, but it's now ok.

Thanks and bon week-end

Sandra

The following user(s) said Thank You: nicolas

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

Time to create page: 0.063 seconds
Powered by Kunena Forum