Buy me a coffee

4 Languages

You can use this guide for any plans (Trial, Personal, Business, Commerce..).

Demo: https://fourlanguages.squarespace.com/

Password: abc

#1. Suppose we need to create 4 languages

  • English: Home (EN), About (EN), Inquire (EN), Work (EN)
  • France: Home (FR), About (FR), Inquire (FR), Work (FR)
  • German: Home (DE), About (DE), Inquire (DE), Work (DE)
  • Vietnam: Home (VI), About (VI), Inquire (VI), Work (VI)

You can create 16 pages and add to Main Navigation

4-laguages-01-min

4-laguages-02-min

#2. Note

  • English: 1, 2, 3, 4
  • France: 5, 6, 7, 8
  • German: 9, 10, 11, 12
  • Vietnam: 13, 14, 15, 16

4-laguages-03-min

#3. English

To hide France, German, Vietnam Pages on English Pages, you can edit 4 English Pages > Add a Code Block > Paste this code:

<style>
nav.header-nav-list>div:nth-child(n+5):not(:last-child) {
    display: none;
}
[data-folder="root"]>div>div>div:nth-child(n+5):not(:last-child) {
    display: none;
}
</style>

4-laguages-06-min

Result:

4-laguages-05-min

4-laguages-04-min

#4. France

To hide English, German, Vietnam Pages on France Pages, you can edit 4 France Pages> Add a Code Block > Paste this code.

<style>
nav.header-nav-list>div, [data-folder="root"]>div>div>div {
    display: none;
}
nav.header-nav-list>div:nth-child(5), nav.header-nav-list>div:nth-child(6), nav.header-nav-list>div:nth-child(7), nav.header-nav-list>div:nth-child(8), nav.header-nav-list>div:last-child{
    display: inline-block !important;
}
[data-folder="root"]>div>div>div:nth-child(5), [data-folder="root"]>div>div>div:nth-child(6), [data-folder="root"]>div>div>div:nth-child(7), [data-folder="root"]>div>div>div:nth-child(8), [data-folder="root"]>div>div>div:last-child  {
    display: inline-block !important;;
}
</style>

4-laguages-16-min

Result:

4-laguages-08-min

4-laguages-09-min

#5. German

To hide English, France, Vietnam Pages on German Pages, you can edit 4 German Pages> Add a Code Block > Paste this code.

<style>
nav.header-nav-list>div, [data-folder="root"]>div>div>div {
    display: none;
}
nav.header-nav-list>div:nth-child(9), nav.header-nav-list>div:nth-child(10), nav.header-nav-list>div:nth-child(11), nav.header-nav-list>div:nth-child(12), nav.header-nav-list>div:last-child{
    display: inline-block !important;
}
[data-folder="root"]>div>div>div:nth-child(9), [data-folder="root"]>div>div>div:nth-child(10), [data-folder="root"]>div>div>div:nth-child(11), [data-folder="root"]>div>div>div:nth-child(12), [data-folder="root"]>div>div>div:last-child  {
    display: inline-block !important;;
}
</style>

4-laguages-12-min

Result:

4-laguages-10-min

4-laguages-11-min

#6. Vietnam

To hide English, France, German Pages on Vietnam Pages, you can edit 4 Vietnam Pages> Add a Code Block > Paste this code.

<style>
nav.header-nav-list>div, [data-folder="root"]>div>div>div {
    display: none;
}
nav.header-nav-list>div:nth-child(n+13) {
    display: inline-block !important;
}
[data-folder="root"]>div>div>div:nth-child(n+13) {
    display: inline-block !important;;
}
</style>

4-laguages-15-min

Result:

4-laguages-14-min

4-laguages-13-min

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder