Name of product is translated

  • Posts: 10
  • Thank you received: 0
2 years 3 months ago #338608

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.27
-- Browser(s) name and version -- : Firefox, latest version

Hi,

My site is in portuguese language (admin and front-end).

I have a product named April and it is being translated to abril, wich is the name of the month in portuguese.

I don't want the names of the products to be translated.
So is there a way to disable the automatic translation for the products names?

Thank you!

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

  • Posts: 81540
  • Thank you received: 13069
  • MODERATOR
2 years 3 months ago #338609

Hi,

There are two solutions I can see:
1. Instead of "April", change the name of the product to "#notrans#April" and it should display "April" on the frontend.
2. Instead of "April", change the name of the product to "MY_PRODUCT_NAME" and then, under the Languages tab of the HikaShop configuration, edit your language file, and in the override area on the right side, add that line:
MY_PRODUCT_NAME="April"
That way, it will display April on the frontend.

The following user(s) said Thank You: celsoclaro

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

Time to create page: 0.057 seconds
Powered by Kunena Forum