v4.0.2 - still wrong aliases from russian words
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
-- Joomla version -- : 3.0
- PHP version -- : 5.3.0
-- Browser(s) name and version -- : ALL
If we use hikashop on russian language there is no option to translitarate russian names of goods to english.
the solve for this problem like here
файла \administrator\components\com_jshopping\controllers\products.php чтобы получилость так:
if ($jshopConfig->create_alias_product_category_auto && $post=="") $post = JApplication::stringURLSafe($post);
We know that on the hikashop joomshopping it's ok
please update hikashop business
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
HikaShop already uses that code (file administrator/components/com_hikashop/classes/product.php):
If you have an example of code, we can potentially add an option, but it's definitely not that code.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
but something wrong in your code because transliterator at this point is null...
I'll try to find the problem but if you know it please help
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
Ok, I see what you mean.
Can you try to change the code:
That will initialize the JLanguage object in the same way as the default class and that should hopefully make it use the translatiteration system of your language if any.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
At the moment when I try to transliterate with standart joomla method JLanguage must have transliterator data.
I try to trace your code and at this moment there is no transliterator data.
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
language at this moment is English! O_O
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
parent::__construct();
to:
parent::__construct($old->lang);
in the helper.php file and it will work.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
It is really working!
This is was big problem for Russian and Ukrainian customers. And it was solved!
So I will repeat the steps that needed to be changed.
first in (file administrator/components/com_hikashop/classes/product.php):
the function must be
and in (administrator/components/com_hikashop/helpers/helper.php) file
constructor must be
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
It will be helpful for customers of all around the world!
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
like here
because of some users can use "unicodeslugs" flag in configuration
so the final code is here
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Still does not working!
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
Thank you for confirming that it works on your end too.
Please Log in or Create an account to join the conversation.