strings when adding articles don't get translated
13 years 10 months ago #78848
by Ch3vr0n
strings when adding articles don't get translated was created by Ch3vr0n
When starting to add articles in my shop i noticed the following. There are a couple of buttons that don't get properly translated. See attachment
Attachment not found
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78921
by Xavier
Replied by Xavier on topic strings when adding articles don't get translated
Hi,
Thanks for the report, can you check in you language file "HikaShop > Configuration > Language" if the text, for example, "HIKA_APPLY" is translated ?
Thanks for the report, can you check in you language file "HikaShop > Configuration > Language" if the text, for example, "HIKA_APPLY" is translated ?
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78962
by Ch3vr0n
Replied by Ch3vr0n on topic strings when adding articles don't get translated
They are.
HIKA_EDIT="Bewerken"
HIKA_SAVE="Opslaan"
HIKA_CLOSE="Sluiten"
HIKA_FILES="Bestanden"
HIKA_APPLY="Toepassen"
HIKA_EDIT="Bewerken"
HIKA_SAVE="Opslaan"
HIKA_CLOSE="Sluiten"
HIKA_FILES="Bestanden"
HIKA_APPLY="Toepassen"
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79004
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic strings when adding articles don't get translated
Hi,
Please edit the file administrator/com_hikashop/helper/toolbar.php and add
Just before
This fix would be include in the next release of HikaShop.
Regards,
Please edit the file administrator/com_hikashop/helper/toolbar.php and add
Code:
if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') {
$alt = 'JTOOLBAR_' . strtoupper($alt);
}
Code:
if(isset($standard[$toolname])) {
$icon = $standard[$toolname][0];
$task = $standard[$toolname][1];
$alt = $standard[$toolname][2];
This fix would be include in the next release of HikaShop.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79119
by Ch3vr0n
Replied by Ch3vr0n on topic strings when adding articles don't get translated
didn't work, buttons still untranslated. file now looks like this.
Code:
if(HIKASHOP_J16) {
$standard['save'][2] = 'JTOOLBAR_SAVE';
}
if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') {
$alt = 'JTOOLBAR_' . strtoupper($alt);
}
if(isset($standard[$toolname])) {
$icon = $standard[$toolname][0];
$task = $standard[$toolname][1];
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79122
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic strings when adding articles don't get translated
Hi,
Sorry.. I wanted to say : just after.
Like that:
Sorry for my mistake.
Regards,
Sorry.. I wanted to say : just after.
Like that:
Code:
if(isset($standard[$toolname])) {
$icon = $standard[$toolname][0];
$task = $standard[$toolname][1];
$alt = $standard[$toolname][2];
if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') {
$alt = 'JTOOLBAR_' . strtoupper($alt);
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: Ch3vr0n
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79124
by Ch3vr0n
Replied by Ch3vr0n on topic strings when adding articles don't get translated
File now looks like this
Fix confirmed, buttons are translated. Issue resolved
Code:
if(HIKASHOP_J16) {
$standard['save'][2] = 'JTOOLBAR_SAVE';
}
if(isset($standard[$toolname])) {
$icon = $standard[$toolname][0];
$task = $standard[$toolname][1];
$alt = $standard[$toolname][2];
if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') {
$alt = 'JTOOLBAR_' . strtoupper($alt);
}
Fix confirmed, buttons are translated. Issue resolved
Please Log in or Create an account to join the conversation.
Time to create page: 0.276 seconds