gmadridsports Posted November 21, 2018 Share Posted November 21, 2018 Hi! I'm trying to translate the VAT field, unsuccessfully. Basically I've edited ShopFormLables.xlf, by placing the following: <trans-unit id="7cb32e708d6b961d476baced73d362bb" approved="yes"> <source>VAT number</source> <target xml:lang="es-ES" state="translated">DNI/NIE</target> <note>Context: File: classes/form/CustomerAddressFormatter.php:214</note> </trans-unit> replacing the xlf file under app/Resources/translations/es-ES/ShopFormLabels.xml, emptying the cache from the back office and trying to reload the page where the field appears. Nothing changed though, as you can see from the image attacched. Any hint? Link to comment Share on other sites More sharing options...
JBW Posted November 22, 2018 Share Posted November 22, 2018 Which version are you using? Have you tried to use the translations in the back office? I find the term "VAT number" in the translations at Shop.Forms.Label Link to comment Share on other sites More sharing options...
MarioH Posted April 8, 2019 Share Posted April 8, 2019 It worked for me following your steps Link to comment Share on other sites More sharing options...
AreaEuropa Posted July 3, 2019 Share Posted July 3, 2019 (edited) Hi, I know the answer's a little late, but I think the problem you are facing is that the translation file should be: [prestawebroot]/app/Resources/translations/es-ES/ShopFormsLabels.es-ES.xlf At least that's what worked for me on 1.7.3 Hope it helps someone. Edited July 3, 2019 by AreaEuropa (see edit history) Link to comment Share on other sites More sharing options...
Juampe Ruiz Posted September 18, 2019 Share Posted September 18, 2019 On 7/3/2019 at 12:14 PM, AreaEuropa said: Hi, I know the answer's a little late, but I think the problem you are facing is that the translation file should be: [prestawebroot]/app/Resources/translations/es-ES/ShopFormsLabels.es-ES.xlf At least that's what worked for me on 1.7.3 Hope it helps someone. Thank you so much, working fine in 1.7.6.1 Link to comment Share on other sites More sharing options...
airjohn Posted January 14, 2023 Share Posted January 14, 2023 On 7/3/2019 at 1:14 PM, AreaEuropa said: Hi, I know the answer's a little late, but I think the problem you are facing is that the translation file should be: [prestawebroot]/app/Resources/translations/es-ES/ShopFormsLabels.es-ES.xlf At least that's what worked for me on 1.7.3 Hope it helps someone. This worked for me too. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now