Languages settings

A site is in one language, or in several. In a site with several, each language has its own pages, fragments and collections, published under its own address: /en/, /pt-br/. The Languages group of Settings says which they are.

The Languages group of the Bistro Verde starter: Main language en, Other languages Português (Brasil) with its tag and a button to remove it, a box to add a language tag with the Add button, and Page the site address opens, /en/

Number

Part

What it does

1

Main language

Its tag, such as en, pt-BR or es. The language new pages are written in first, and the one the others are translated from.

2

Other languages

One line each, by its own name and its tag.

3

Remove

Takes the language out of the site when saved. Its pages are not deleted; they stop being published, and SeedPage says how many before saving.

4

Add

One or more tags, separated by commas, then Add. The new language has no pages yet: each one is translated from the main language in Pages.

5

Page the site address opens

In a site with languages, the site address itself (/) sends visitors here. Empty, it is the main language’s home.

From one language to several, and back

A site made in one language keeps its pages without a folder per language, and one made with several keeps a folder for each. So, on a site that already has pages, Settings does not add the first other language, nor take the last one away: either would leave every page in the wrong place, unpublished or published as the main language’s. SeedPage says so and saves nothing.

Choose the languages when the site is made: the Make it yours step of the setup wizard asks for them, and every starter can be made in several languages.

Translating the pages

In Pages, a page missing in a language shows as a hole under the same page of the main language; Create this page makes a copy to translate. Fragments are translated the same way in Fragments, and a new collection is made in every language.