Jump to content

Multilingual website: how to translate "type to search" on a specific language page

Recommended Posts

Site URL: https://lifelab.world/search?q=

Hello Squarespace experts,

I need some help please on how to translate the "type to search" on the search page on a specific language page which is the DE - German page. I also like to keep the "type to search on the EN page.  🙏

I have read this thread but I know that this applies to one translated page only. 😞 

Please see the screenshot below


241702963_Typetosearch.thumb.png.6fb78aef5c2b84428fbdb09528170d0f.png

 

Thank you in advance for your assistance!

Sincerely

Naomi

Link to comment

Add to Last Line in Code Injection > Footer

<script>
$(document).ready(function() {
$('body.body-de .sqs-search-page input').attr('placeholder','enter de text');
});
</script>

 

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
  • 1 month later...
On 5/20/2022 at 9:33 PM, tuanphan said:

Add to Last Line in Code Injection > Footer

<script>
$(document).ready(function() {
$('body.body-de .sqs-search-page input').attr('placeholder','enter de text');
});
</script>

 

Thank you @tuanphan however it still does not work. I am unsure what I did wrong.
This is the code I placed

<script>
$(document).ready(function() {
$('body.body-de .sqs-search-page input').attr('placeholder','Zum Suchen tippen');
});
</script>
Link to comment
1 hour ago, Naomi-lifelab said:

it still does not work

I have replied to your other post about this:

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.