- Posts: 49
- Thank you received: 1
How to translate links in vendor account
7 years 1 month ago - 7 years 1 month ago #309475
by onereik
How to translate links in vendor account was created by onereik
-- HikaShop version -- : 4.0.3
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.2
Hello,
How to translate links in Vendor cpanel account on the frontend?
Such as
1. Vendor account link
2. Customers Link
3. Orders Link
4. Products Link
I still didn't check if the dashboard has language strings in it. Will check soon and see if it is translatable.
Ah I also have Falang component installed latest version.
Thanks.
Edit:
Ok I found it, very strange they are not showing in languages files, but I am looking at the code now and I can see the VENDOR_ACCOUNT constant
Thanks
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.2
Hello,
How to translate links in Vendor cpanel account on the frontend?
Such as
1. Vendor account link
2. Customers Link
3. Orders Link
4. Products Link
I still didn't check if the dashboard has language strings in it. Will check soon and see if it is translatable.
Ah I also have Falang component installed latest version.
Thanks.
Edit:
Ok I found it, very strange they are not showing in languages files, but I am looking at the code now and I can see the VENDOR_ACCOUNT constant
Thanks
Last edit: 7 years 1 month ago by onereik.
Please Log in or Create an account to join the conversation.
7 years 1 month ago - 7 years 1 month ago #309493
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic How to translate links in vendor account
Hello,
VENDOR_ACCOUNT is within the HikaMarket language file ; for the other sections, they are HikaShop translations (CUSTOMERS, ORDERS, PRODUCTS, HIKA_CATEGORIES...)
Maybe I can see to provide specific translations code that would allow the override but, if they are not define, it will use the HikaShop translations instead. It could be a good compromise between the customization and not having too much duplicate entries for the translators.
Please note that you can use the Joomla language debug mode to see all translations keys in your website
Regards,
VENDOR_ACCOUNT is within the HikaMarket language file ; for the other sections, they are HikaShop translations (CUSTOMERS, ORDERS, PRODUCTS, HIKA_CATEGORIES...)
Maybe I can see to provide specific translations code that would allow the override but, if they are not define, it will use the HikaShop translations instead. It could be a good compromise between the customization and not having too much duplicate entries for the translators.
Please note that you can use the Joomla language debug mode to see all translations keys in your website
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 7 years 1 month ago by Jerome.
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309522
by onereik
Replied by onereik on topic How to translate links in vendor account
Hello,
Thank you for the prompt reply, yes I know that about Joomla it was not found in the languages extension neither the value nor the constant, so that's why I asked, I thought you hardcoded it instead of using the Joomla language JText::_ but I realized the hikamarket has a different language file, and it was missing in the added language folder, that's why I asked.
I know what you are saying, I am a developer too,and I know Joomla very well, I just wanted to know why is it missing and if you just hardcoded it as a normal "string/text" But I found out that the file was missing.
Anyways thank for the reply.
Cheers
Thank you for the prompt reply, yes I know that about Joomla it was not found in the languages extension neither the value nor the constant, so that's why I asked, I thought you hardcoded it instead of using the Joomla language JText::_ but I realized the hikamarket has a different language file, and it was missing in the added language folder, that's why I asked.
I know what you are saying, I am a developer too,and I know Joomla very well, I just wanted to know why is it missing and if you just hardcoded it as a normal "string/text" But I found out that the file was missing.
Anyways thank for the reply.
Cheers
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309530
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic How to translate links in vendor account
Hello,
HikaMarket is using the Joomla translation system with JText::_ and it has its own language file installed in the same folder than the HikaShop language file.
There is no hardcoded text in HikaMarket or HikaShop ; except for very few internal error messages.
Regards,
HikaMarket is using the Joomla translation system with JText::_ and it has its own language file installed in the same folder than the HikaShop language file.
There is no hardcoded text in HikaMarket or HikaShop ; except for very few internal error messages.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.154 seconds