Jump to content

How can I translate "SIGN IN" button ?

Recommended Posts

Posted

Hi there,

Here is the thing, I'm using Adirondack template and it doesnt support multilingual website.So I'd like to translate few button such as "SIGN IN" to "SE CONNECTER / SIGN IN"

I'm facing the same problem in my "Shopping cart" page

Any idea how I could achieve that ?

Thanks in advance !

webiste : https://www.marcelledormoy.com/

alt textPierre

sigin.jpg.b7e630a1ac546ec7c42338d79f49930f.jpg

  • Replies 21
  • Views 1.3k
  • Created
  • Last Reply
Posted

@pierrem86 Add this CSSto Home > Design > Custom CSS


span.sign-in {
   visibility: hidden;
}
span.sign-in:after {
   visibility: visible;
   content: "New Sign In Text";
   margin-left: -40px;
}

See how to insert CSS: https://beaverhero.com/squarespace-how-to/#HowtoInsertCustomCSS

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

@pierrem86 They are easy for me, but take some time. I will send tomorrow, going to bed.


/* Translate Shopping Cart */
h2.cart-title {
   visibility: hidden;
}
h2.cart-title:before {
   visibility: visible;
   content: "New Shopping Cart Title";
}
/* Translate Checkout */
.checkout-button span {
   visibility: hidden;
}
.checkout-button span:after {
   visibility: visible;
   content: "New Checkout Text";
   margin-left: -80px;
}


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

@pierrem86


 /* translate subtotal */
   .cart-container div:last-child span span {
       visibility: hidden;
   }
   .cart-container div:last-child span span:after {
       visibility: visible;
       content: "New Subtotal";
   }
   /* translate price */
   .cart-item-list-labels div:last-child span span {
       visibility: hidden;
   }
   .cart-item-list-labels div:last-child span span:after {
       visibility: visible;
       content: "New Price";
   }
   /* translate qty */
   .cart-item-list-labels div:nth-child(4) span span {
       visibility: hidden;
   }
   .cart-item-list-labels div:nth-child(4) span span:before {
       visibility: visible;
       content: "New QTY";
   }
   /* translate item */
   .cart-item-list-labels>span span {
       visibility: hidden;
   }
   .cart-item-list-labels>span span:before {
       visibility: visible;
       content: "New Item";
   }

I'm afraid tomorrow I will forget this

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

Hello @tuanphan sorry to bother you again. I have 2 more things I'd like to translate, I tried myself but didn't succed...

Thanks again for your great help !

basket.jpg.098afd7f59357d60bdf38c7ead166e67.jpg

Posted

@pierrem86


/* Translate all in filters */
   ul.category-nav-links li.all a {
       visibility: hidden;
   }
   ul.category-nav-links li.all a:after {
       visibility: visible;
       content: "New All";
   }
   /* Translate item in basket */
   .absolute-cart-box .details .suffix {
       visibility: hidden;
   }
   .absolute-cart-box .details .suffix:before {
       visibility: visible;
       content: "new item";
   }






Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.