convert VAT into GST

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
omprakash
Posts: 7
Joined: 26 Aug 2020, 13:05

convert VAT into GST

Post by omprakash » 21 Oct 2020, 12:19

I have changed VAT text into GST but it only correctly showing on single product page.all other pages like checkout,basket
it is still showing VAT text.
shop.php file i18 configration:-
'i18n' => [
'en'=>[
'client'=>[
'Incl. %1$s%% VAT'=>['Incl. %1$s%% GST'],'+ %1$s%% VAT'=>['+ %1$s%% GST'],'VAT'=>['GST'],
],
],
],

waiting for response .

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: convert VAT into GST

Post by aimeos » 23 Oct 2020, 16:01

Try this:

Code: Select all

'i18n' => [
	'en'=>[
		'client'=>[
			'VAT'=>['GST'],
		],
		'client/code'=>[
			'tax' => 'GST',
		],
	],
],
The tax names are translated here:
https://github.com/aimeos/ai-client-htm ... d.php#L377

The strings for the other two translations you've used are not part of the source code because the strings doesn't contain "VAT". Instead, the contain only a placeholder:
https://github.com/aimeos/ai-client-htm ... #L132-L134
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

omprakash
Posts: 7
Joined: 26 Aug 2020, 13:05

Re: convert VAT into GST

Post by omprakash » 24 Oct 2020, 07:27

Thank you it is working :)

Post Reply