Mulitlingual sites: product image ALT text

  • Posts: 174
  • Thank you received: 15
  • Hikashop Business
1 day 5 hours ago #369292

-- url of the page with the problem -- : rolex.jewelrygoldfinger.com/fr/montres/land-dweller
-- HikaShop version -- : 6.1
-- Joomla version -- : 5.4
-- PHP version -- : 8.2

Hello,

Currently, the IMG alt and title of the product main image are not translatable.
Would there be a way to make them translatable?

Thanks in advance.

Sandra

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

  • Posts: 84654
  • Thank you received: 13768
  • MODERATOR
21 hours 19 minutes ago #369297

Hi,

They are translatable since HikaShop 5.1.0, but there is no interface for it.
You can translate them the same way you can translate some of the settings of the HikaShop configuration like the "product SEF name" and "category SEF name".
So for example, you can add the translation override:
MY_IMAGE_ALT="My image is great"
and then, instead of adding "My image is great" to the image description input in the image popup, you can add "MY_IMAGE_ALT" and HikaShop will automatically translate it with the override for each language on the website.

The main problem we have with this is more of a structural issue. Since the image name field is already in a popup, we don't want to have a popup in that popup for the translations. And there is not much space for flags on the image itself. So it's more of a UX issue.
I guess we could have tabs inside the popup, like we have on the payment / shipping method edit form.
So far, no one else talked about doing this, so I'm also not sure if it's worth it for us to spend several hours working on this...

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

  • Posts: 174
  • Thank you received: 15
  • Hikashop Business
10 hours 36 minutes ago #369316

Thanks for your answer.

I totally understand you don't want to spend hours on something used by nearly nobody except me.
As long as there's a solution, it's good for me.

Thansk again for your help.

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.057 seconds
Powered by Kunena Forum