Skip to Content
Site setup

Translations

Translate the menu, pages, notifications and interface labels into every site language on one screen.

The Translations screen lines up all your texts in every site language: menu items, pages, legal documents, notifications. You can also change the engine's own buttons and messages there, and updates won't erase those edits.

You need the admin.translate permission. To change the texts themselves you also need the permission for their section: pages are edited by whoever has admin.pages, the menu by whoever has admin.navigation.

Site languages

The engine ships in 15 languages: English, Russian, Polish, Ukrainian, German, Chinese, French, Spanish, Uzbek, Portuguese, Brazilian Portuguese, Swedish, Japanese, Czech and Bulgarian. Which of them visitors can use is set in AdminSettings, section "Language & time", with the "Available languages" switches. The "Default Language" is set there too, see site settings.

The "Translations" item appears in the menu once the site has at least two languages. With one language, the screen shows "The site has one language" and an "Open settings" button.

Translate site texts

Open the screen

AdminTranslationsSite texts. Each row is one text, each column a language. The first column holds the source text and is read-only.

The Site texts tab: texts in groups with language columns side by side

Find what's untranslated

The "Untranslated" tab keeps rows with an empty column. The "Wrong language" tab shows rows where, say, the English column holds Russian text. "Search texts" searches every language at once.

Type the translation and save

Short texts are edited right in the cell. A long text, such as a legal document, opens in its own form: click its name. The "Open" link next to a group goes to the screen where those texts live. After saving you get "Saved texts: 4".

With more than three languages only two fit side by side: pick them in "Translate from" and "Translate into".

Texts are grouped:

GroupWhat gets translatedPermission
Header menumenu itemsadmin.navigation
Footer linksfooter linksadmin.footer
Social linkssocial network names in the footeradmin.footer
Pagestitles and descriptions of your pagesadmin.pages
Notificationstitle and text of notification templatesadmin.notifications
Legal documentslegal documents whose text you changedadmin.pages
Settingsthe site name and other translatable settingsadmin.system

Modules add their own groups here.

Your texts are written in Русский, but the site's main language is English.

This happens when the site was installed in English but the texts were written in Russian. "Move them to Русский" puts the texts into the column of their real language; review them and save. "Make Русский the main language" opens the language settings.

Interface labels

The "Interface" tab lists the buttons, messages and labels of the engine and modules. Find a phrase with "Search by key or text", type your version and save.

The Interface tab with the Community translations card and the phrase table

Your version is stored apart from the translation files, so an engine or module update won't erase it. Clear the cell and save to bring back the text from the file.

Community translations

The "Community translations" card pulls approved translations of the engine, modules and theme from flute-cms.com. "Update from the community" is on by default, and the update runs every 6 hours as a background job. "Update now" runs it right away, and so does php flute i18n:sync from the command list.

The order is: translation files, community translations on top of them, your edits on top of those. Your version of a phrase always wins.

Troubleshooting

For any other message, use the error lookup.

"Saved: 3. Not saved: 1." means one of the phrases failed a check. The reason is in the same notice, and the text stays in its cell. Fix it and save again:

ReasonWhat to do
"keep the variables :name."the translation lost a variable from the original phrase. Put it back exactly, with the colon
"only the markup of the original text is allowed."the translation has HTML tags the original doesn't. Remove them
"the text is too long."an interface phrase is over 5000 characters

"The sync failed; the previous translations were kept." appears when the site couldn't reach flute-cms.com. Community translations already downloaded keep working, and the next attempt runs on schedule.

Next

On this page