Translation / Internationalization of Placeholder Text in Forms



I am customizing the form embed code using the instructions here:

I am able to change the button text as well as the field labels and error messages, but is there a way to translate the placeholder text as well? If not through the customization of embedding, is there an alternative method this could be achieved?

The form is built in HubSpot in German but I’d like to embed both that and an English version.


Hi @pniebrzydowski,

There’s no way to edit/translate placeholder text by editing the embed code. You’ll need to edit the placeholder text in the HubSpot UI or do it using custom JavaScript.


You can achieve this, by putting the following code in your form:

onFormReady: function($form) {
		jQuery('#firstname-xxx-xx-xxx-x-x').attr("placeholder", name);