Jump to content

Changing language/text on store, calendar, blog, search box, etc

Recommended Posts

Site URL: https://www.handverkslaget.squarespace.com

Hi all 🙂

Are there anybody out there that would be able to help with the code injections for these? I have searched for results here, but couldn't find the answer. It's for pages where Squarespace doesn't have a system to change the language. 

Thank you!

Best regards,
Torgrim 🙂

 

STORE:

  • When you click one of the items, you will see  "Prev I Next" in the top right corner. I would like to be able to change this text, if easy to solve. 
  • When you click one of the "medlemskap" items, there are several options you can buy. I would like to change the text saying "Select". 
  • For items that are out of stock, see "Klistremerke" (Stickers), you will see that the box to purchase still says "Purchase". I would like to change this text if easy to solve. 
  • If you try to put some items in the shopping cart and continue checking things on the website, before going to the shopping cart in the top right corner, you will get to a page saying "Shopping cart", and below "Item", "Qty.", "Price", "Size", "Subtotal" and "Checkout" Is there a way to translate/change this text without too much work? 
  • The whole check out site is mostly english and I don't think this is any easy fix, so don't worry about it. 

CALENDAR:

  • If easy solve, I would like to be able to change the english names on months and days. And also be able to use 24 hour system on the time/clock, instead of the british/american AM/PM function.
     
BLOG:
  • Under blog, where you have an overview of all blogs, it says "Read More" at the bottom. I would like to change this text if easy to solve. 
  • Same place as above. If possibe, I would like the dates to go Date/Month/Year instead of Month/Date/Year. Again, only if easy to solve. 
  • When clicking each blog post, on top you will see the Month/Date. I would like to translate the english months to another language, and have the date in front of the month.
     
SEARCH BOXES:
  • If possible, I would like to translate the text in the search boxes, saying "Search". 
 
FOOTER (All pages)
  • At the bottom, you can see some links to other pages/sites. I would like to keep the Url link, but to remove the underline so that it looks cleaner.
     
FAQs

 

Link to comment
  • Replies 24
  • Views 3.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 months later...
On 11/20/2020 at 11:43 PM, GerDevCole said:

Hi,

Did any of you guys get code for change the language for months and days on the default SSpace calendar.  Would appreciate some advice.

 

Thanks

Ger

Have you solved it yet? If no, can you share link to page where you use calendar? We can check easier

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!)

Link to comment

Am trying something like this for the days but can't get the correct selectors for the Month. Also can't yet hide the English dayname - it is still appearing alongside the Irish one.

.yui3-calendar-weekday[aria-label="Monday"]:after {
 content : "Luan";
}

.yui3-calendar-weekday[aria-label="Tuesday"]:after {
 content : "Mairt";

}

Link to comment

Hi tuanphan - I just want to translate Monday, Tuesday etc in the calendar grid.  I also want to translate the month in the grid heading.

The following code does in fact change the days in the grid but the English is still there - it does not overwrite the content.

.yui3-calendar-weekday[aria-label="Monday"]:after {
 content : "Luan";
}

.yui3-calendar-weekday[aria-label="Tuesday"]:after {
 content : "Mairt";

}

Ger

Link to comment
  • 2 weeks later...
On 11/23/2020 at 10:13 PM, GerDevCole said:

Hi tuanphan - I just want to translate Monday, Tuesday etc in the calendar grid.  I also want to translate the month in the grid heading.

The following code does in fact change the days in the grid but the English is still there - it does not overwrite the content.

.yui3-calendar-weekday[aria-label="Monday"]:after {
 content : "Luan";
}

.yui3-calendar-weekday[aria-label="Tuesday"]:after {
 content : "Mairt";

}

Ger

Do you still need help?

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!)

Link to comment
  • 1 year later...
9 hours ago, qcjacques said:

Site URL: https://vatnaaskirke.squarespace.com/kalender

Hello everybody,

I would like some help with translating into Norwegian,

- the month on the calendar

- day + month on the single events

On page: https://vatnaaskirke.squarespace.com/kalender

PW 3355

Thank you in advance!

Do you mean translate the following areas?

image.thumb.png.5d8b16fb508780039b5881cc7c1f5fba.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 2 weeks later...

Hi @qcjacques and @DaniCal

You can change the English name of month to Norwegian on the calendar block with the help of below code.

<script>
    let en2nor = {
            January: "Januar",
            February: "Februar",
            March: "Mars",
            April: "April",
            May: "Mai",
            June: "Juni",
            July: "Juli",
            August: "August",
            September: "September",
            October: "Oktober",
            November: "November",
            December: "Desember",
        },
        $target = $(".calendar-block h1 > div"),
        month = $target.text().split(" ")[0];

    $target.text($target.text().replace(month, en2nor[month]));
</script>

You need to put this code in the Code Injection FOOTER under Settings > Advanced.

Please note that it requires jQuery. Since it was already added to the reference website, you can skip the next step.

Add jQuery to your website by adding below code in the Code Injection HEADER under Settings > Advanced.

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>


PS: This is my first attempt to answer a question here. I hope this helps 🙂 

Link to comment
On 4/6/2022 at 2:49 PM, qcjacques said:

I would like some help with translating into Norwegian

If you start a new Squarespace 7.1 trial today, it will now offer Norwegian (and Danish, Finnish and Swedish) as the site language - no code should be necessary. Take a look in Settings > Language & regionSite language.

However, if you have already started a site, it may be a few weeks before the support for these languages has been added, as they are rolled out in waves. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 3 months later...
  • 1 year later...
On 4/27/2022 at 3:24 AM, paul2009 said:

If you start a new Squarespace 7.1 trial today, it will now offer Norwegian (and Danish, Finnish and Swedish) as the site language - no code should be necessary. Take a look in Settings > Language & regionSite language.

However, if you have already started a site, it may be a few weeks before the support for these languages has been added, as they are rolled out in waves. 

I have my site in spanish and month and days are still showing in english. Any idea how to fix?

Link to comment
10 hours ago, SolarStudio said:

I have my site in spanish and month and days are still showing in english.

Can you direct me to the English names? I cannot see English dates on this page.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.