DanielHenriksen Posted May 24, 2020 Share Posted May 24, 2020 Site URL: http://www.ahenriksen.com Hi, I have a multilingual page, and i want to translate my contact form to danish. I have changed all the overall labels to danish, but I can't translate the first name and last name label. Please help? yours sincerely Daniel H Link to comment
tuanphan Posted May 24, 2020 Share Posted May 24, 2020 Add to Home > Design > Custom CSS /* First name */ .field.first-name .caption-text { visibility: hidden; } .field.first-name .caption-text:before { visibility: visible; content: "Voornaam"; } /* last name */ .field.last-name .caption-text { visibility: hidden; } .field.last-name .caption-text:before { visibility: visible; content: "Achternaam"; } qcjacques and CalvinEK 2 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
DanielHenriksen Posted May 25, 2020 Author Share Posted May 25, 2020 Thank you for the quick response. It works to some extent, as it translates what i need, but the translation now occurs on both my danish and english contact page. How can i set it up so it only translates the danish version? Link to comment
tuanphan Posted May 25, 2020 Share Posted May 25, 2020 1 hour ago, DanielHenriksen said: Thank you for the quick response. It works to some extent, as it translates what i need, but the translation now occurs on both my danish and english contact page. How can i set it up so it only translates the danish version? Add to Page Settings > Advanced > Header (if you use Personal Plan, you can add Code Block) <style> /* First name */ .field.first-name .caption-text { visibility: hidden; } .field.first-name .caption-text:before { visibility: visible; content: "Voornaam"; } /* last name */ .field.last-name .caption-text { visibility: hidden; } .field.last-name .caption-text:before { visibility: visible; content: "Achternaam"; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
DanielHenriksen Posted May 26, 2020 Author Share Posted May 26, 2020 I appreciate the effort, but it still makes it in danish on both the english version of the contact page and the danish version. I would like to keep it in english on the english contact page. Link to comment
tuanphan Posted May 26, 2020 Share Posted May 26, 2020 4 hours ago, DanielHenriksen said: I appreciate the effort, but it still makes it in danish on both the english version of the contact page and the danish version. I would like to keep it in english on the english contact page. WHERE did you add? Add to Page Settings > Advanced > Header The code inserted in Page Header only runs on that page, and does not affect other pages. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
DanielHenriksen Posted May 27, 2020 Author Share Posted May 27, 2020 Sorry that was my mistake, i put it into the header of code injection for every page. Now it works, thank you very much. Link to comment
doverkohl Posted July 29, 2021 Share Posted July 29, 2021 On 5/24/2020 at 6:32 PM, tuanphan said: Add to Home > Design > Custom CSS /* First name */ .field.first-name .caption-text { visibility: hidden; } .field.first-name .caption-text:before { visibility: visible; content: "Voornaam"; } /* last name */ .field.last-name .caption-text { visibility: hidden; } .field.last-name .caption-text:before { visibility: visible; content: "Achternaam"; } Is it possible to change the error form Field? It shows in English Link to comment
tuanphan Posted July 30, 2021 Share Posted July 30, 2021 20 hours ago, doverkohl said: Is it possible to change the error form Field? It shows in English Can you share page url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
doverkohl Posted July 30, 2021 Share Posted July 30, 2021 5 hours ago, tuanphan said: Can you share page url? Hi tuanphan I was just looking at DanielHenriksen's page form https://www.ahenriksen.com/dk/kontakt I was curious about whether it was possible to change those error form fields too. I am thinking to make two languages page, but I don't have anything created yet Thank you Link to comment
Andre_99 Posted November 25, 2021 Share Posted November 25, 2021 (edited) On 5/25/2020 at 12:32 AM, tuanphan said: Add to Home > Design > Custom CSS /* First name */ .field.first-name .caption-text { visibility: hidden; } .field.first-name .caption-text:before { visibility: visible; content: "Voornaam"; } /* last name */ .field.last-name .caption-text { visibility: hidden; } .field.last-name .caption-text:before { visibility: visible; content: "Achternaam"; } Thanks Alot. Worked perfect for me aswell Edited November 25, 2021 by Andre_99 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment