strings when adding articles don't get translated

  • Posts: 259
  • Thank you received: 10
11 years 11 months ago #78848

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #78921

Hi,

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.

  • Posts: 259
  • Thank you received: 10
11 years 11 months ago #78962

They are.

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 11 months ago #79004

Hi,

Please edit the file administrator/com_hikashop/helper/toolbar.php and add

				if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') {
					$alt = 'JTOOLBAR_' . strtoupper($alt);
				}
Just before
			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.

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.

  • Posts: 259
  • Thank you received: 10
11 years 11 months ago #79119

didn't work, buttons still untranslated. file now looks like this.

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 11 months ago #79122

Hi,

Sorry.. I wanted to say : just after.
Like that:

			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);
				}
Sorry for my mistake.

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.
The following user(s) said Thank You: Ch3vr0n

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

  • Posts: 259
  • Thank you received: 10
11 years 11 months ago #79124

File now looks like this

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.076 seconds
Powered by Kunena Forum