VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: baloe98 on September 28, 2019, 11:47:12 AM

Title: Translate Shipping Address 1
Post by: baloe98 on September 28, 2019, 11:47:12 AM
Joomla 3.9.11
VM 3.6.2

Can someone tell me where I can translate "Shipping Address 1" in the "Select Address" field in shopping cart?
I cannot find the string "Shipping Address 1" at Languages Overrides.

Thanks, Baloe
Title: Re: Translate Shipping Address 1
Post by: Jörgen on September 28, 2019, 11:51:04 AM
Turn on joomla language debugging or talk to your template supplier.
Jörgen @  Kreativ Fotografi
Title: Re: Translate Shipping Address 1
Post by: baloe98 on September 29, 2019, 11:51:51 AM
Hello Jörgen, thank you for your prompt reply.
I did what you suggested (language debugging) and tested in template VMBeez with the standard checkout form but text does not appear in the language files.
I suspect it's hard coding?
Title: Re: Translate Shipping Address 1
Post by: baloe98 on September 29, 2019, 12:00:38 PM
Picture
Title: Re: Translate Shipping Address 1
Post by: Jörgen on September 29, 2019, 12:37:18 PM
I would guess that. Unpack all Your files locally and use "Agent Ransack" or similar tool to search for this string.


Jörgen @ Kreativ Fotografi
Title: Re: Translate Shipping Address 1
Post by: GJC Web Design on September 29, 2019, 12:58:48 PM
not in files -- what even is that dropdown?

multiple shipping addresses? then isn't it the nickname?

Since when was it a dropdown ?
On the standard template I just get radios

Title: Re: Translate Shipping Address 1
Post by: jjk on September 29, 2019, 13:31:14 PM
Might be a 'Default' entry in a 'shopper field' setting.
Title: Re: Translate Shipping Address 1
Post by: Jörgen on September 29, 2019, 15:43:42 PM
If You do not find the string, You should talk to your OPC provider. Th OPC makes the dropdown and, he can probably help You with this.

Jörgen @ Kreativ Fotografi
Title: Re: Translate Shipping Address 1
Post by: boersb on September 30, 2019, 09:39:00 AM
The string should be somewhere, so that you can't find it means you're not searching in the right place.
99.99% sure it's somewhere in your files. Is it hard to download all files locally and search for the string?
(0.01% chance it's in the database, but it's bad practice and I've never seen anyone do this.)

It can be hardcoded into a plugin, module, component or template, or it's in a language file somewhere.
Title: Re: Translate Shipping Address 1
Post by: baloe98 on September 30, 2019, 10:15:42 AM
I found the string in OPC (One Page Checkout) plugin -> cartview.html line 607
Thank you for all your help!