Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
pierrem86

How can I translate "SIGN IN" button ?

Question

Posted (edited)

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

Edited by pierrem86

Share this post


Link to post

21 answers to this question

Recommended Posts

  • 1

@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

Share this post


Link to post
  • 1

@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;
}


Share this post


Link to post
  • 1

@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

Share this post


Link to post
  • 1
Posted (edited)

@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";
   }






Edited by tuanphan
Initial Revision

Share this post


Link to post
  • 0
Posted (edited)

alt text

@tuanphan In an ideal world, I'd like to change : - CHECKOUT button - SHOPPING CART title - and caption such as : Subtotal / item / QTY / Price

Edited by pierrem86
Initial Revision

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0
Posted (edited)

So fast, thx a lot ! Again !Everytime I try to understand your code and apply it to a different situation but I failed... :)

Edited by pierrem86
Initial Revision

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...