-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.1
-- PHP version -- : 8.2.13
Hello, after updating to version 5.0.2, categories are translated twice by Canonical.
Therefore, if "#notrans#" is used, the "#notrans#" tag is removed in the first translation, and in the second translation, the phrase is translated.
First:
views/category/view.html.php
$element->category_canonical = hikashop_translate($element->category_canonical);
Second:
views/category/tmpl/listing.php
$canonicalUrl = hikashop_cleanURL(hikashop_translate($this->element->category_canonical));