Skip to content
Log inTry for freeStart

← Back to help

Admin guide

Website translations - automatic translation of a public website

The public website translates itself into other languages. Here you can see the automatic translation status, the optional DeepL key and the saved translations by language.

The visitor switches the language in the footer of the website. Texts that are not in the manual dictionary are automatically translated and saved the first time they are displayed. Each new text is thus translated only once, further views come from saved translations. Czech is not translated.

Fast forward

  1. Open Settings › Site Translations (address ?view=translations).
  2. In the "Automatic translation status" block, check that the Automatic translation status is ON and the database is connected.
  3. The DeepL key is optional. Without a key, the website translates for free via Google. When you insert the key, DeepL takes precedence.
  4. In the "Saved translations by language" table, you can see the number of translations and the date of the last translation for each language.

What you will find here

Automatic translation status
On or off, DeepL key, databases, failsafes, and resource order: manual dictionary → saved translations → DeepL (with key only) → Google Free.
Klíč DeepL
Saving, verifying with DeepL and removing the key. The key is stored in a file outside the web root and will not appear anywhere after it is saved.
Saved translations by language
The number of saved translations for each language and the "Clear language cache" button with confirmation.

Note

If the translation does not work (the database is missing, the translator does not respond or the wait exceeds 4 seconds), the Czech text remains on the page. The page will never crash.

Tip

You can correct a bad automatic translation by entering it into a manual dictionary. Manual dictionary always takes precedence. Names that should not be translated are marked with the attribute data-pmc-neplad.

Warning

"Clear language cache" deletes saved translations of one language. The texts will be translated again on the next display.

Frequently asked questions

Do I have to pay for the translation?

No. Without a DeepL key, the website translates for free via Google. The DeepL key is optional; with the Free key you have 500 000 characters per month.

Will a new article or block from the Builder also be translated?

Yes. Each new text is automatically translated the first time it is displayed in that language and saved.

This guide describes working in the PublicMC website admin. After logging in, you will also find it right next to the screen it belongs to.