Translating pages
How do translations work?
Every page on your site can have a translation into any of the available languages. A translation is a copy of the original page with the same design and layout, but with content in another language.
Translations are stored as separate files next to the original:
| File | Content |
|---|---|
o-nama.json |
The original page (primary language) |
o-nama.en.json |
English translation |
o-nama.de.json |
German translation |
o-nama.fr.json |
French translation |
Every translation uses the same template as the original — only the text content, images and links change.
Creating a translation
There are two ways to create a translation:
Method 1: From the page editor (translations panel)
Open the page in the editor (click the pencil next to the page in the list)
In the right panel find the "Translations" section
You will see a list of available languages with a status:
- ✅ Exists — the translation is already created, click to open it
- ➕ Create — click to make a new translation
Click "Create" next to the desired language
Emit creates a copy of the page with all its elements
The translation editor opens — replace the content in the new language
Note: The "Translations" section is shown only when multilingualism is on and there is at least one extra language.
Method 2: From the page list (language badges)
When multilingualism is on, in the page list you will see language badges next to every page name:
| Badge | Meaning | Action |
|---|---|---|
| SR (purple) | Primary language | Click to open the original |
| EN (green) | Translation exists | Click to open the translation |
| EN+ (grey, dashed) | Translation does not exist | Click to create the translation |
How to create a translation from the list:
- Find the page in the list
- Click the grey badge with "+" (e.g. "EN+") next to the language
- Emit automatically creates the translation and shows a success message
- The badge turns green — the translation is ready for editing
Editing a translation
A translation is edited exactly like a regular page:
- Open the translation by clicking the green language badge in the page list, or through the "Translations" panel in the editor
- The editor opens with the translation's content
- Change the text, images, links in the new language
- Click "Save" (or use
Ctrl+S)
What can you change in a translation?
| Element | Can be changed? | Explanation |
|---|---|---|
| Text (headings, paragraphs) | ✅ | Translate into the new language |
| Images | ✅ | You can use localised images |
| Links | ✅ | Update to the matching language versions |
| Meta title and description | ✅ | Translate for SEO |
| Page design/template | ❌ | Inherited from the original |
| Section layout | ❌ | Inherited from the original |
How to tell you are editing a translation
When you open a translation in the editor, the page slug in the URL bar carries a language suffix:
- Original:
/admin/o-nama - Translation:
/admin/o-nama.en
Deleting a translation
Method 1: From the page list
- Find the page in the list
- Next to the green language badge (e.g. "EN") you see a small "×" button
- Click "×" to delete the translation
- Confirm the deletion
- The badge changes from green to grey (with "+") — the translation is deleted
Method 2: From the page editor
- Open the original page in the editor
- In the "Translations" panel click the delete option next to the existing translation
- Confirm the deletion
Warning: Deleting a translation is permanent — the translation file is deleted from the server. This action cannot be undone.
Translations for blog posts
Blog posts are translated the same way as regular pages. The only difference is the URL structure:
| Type | Original (Serbian) | Translation (English) |
|---|---|---|
| Page | /o-nama |
/en/o-nama |
| Blog post | /blog/moj-post |
/en/blog/moj-post |
| Blog with a category | /blog/vesti/moj-post |
/en/blog/vesti/moj-post |
Language badges are also shown in the blog post list, just like for pages.
Translations for custom post types
If you have custom post types (e.g. portfolio, products), translations work identically:
| Type | Original | Translation |
|---|---|---|
| Portfolio | /portfolio/projekat-1 |
/en/portfolio/projekat-1 |
| Products | /proizvodi/majica |
/en/proizvodi/majica |
Translating menus (item labels)
Navigation item labels are translated in two ways that work together:
Automatically (default)
Items that link to a page or category automatically take the translated name of that page/category. If you translate the "About us" page into English, the menu on the English version of the site will show the translated name by itself — no extra configuration.
Manually (an explicit label per language)
If you want a menu item to have a different label from the page (e.g. the menu says "Association" although the page is called "About"), set it explicitly:
- Open Menus (Admin → Menus)
- Next to every menu item is a 🌐 (globe) icon
- Click it — a panel with a field for every extra language opens
- Enter the desired label for that language and save the menu
- Empty field → the item uses the automatic label (the translated page/category)
- Filled field → exactly that label is used (it takes precedence over the automatic one)
The globe icon is blue when a manual translation is set and grey when the item inherits the label automatically — so you see at a glance which items have an explicit label.
Tip: Leave the field empty when the page name is already good (the menu then follows the page), and use an explicit label only when the menu needs to be shorter or different from the page title.
Workflow for translating a site
Recommended order
- Finish the design in the primary language — all pages should be done before translating
- Start with the most important pages:
- Homepage
- About / Contact
- Most visited pages
- Translate the navigation — menu item labels adapt to the language automatically, and you can set them manually if needed (see the Translating menus section above)
- Translate blog posts — start with the most popular
- Check the links — make sure internal links in translations lead to the right language versions
Tips for quality translations
- Do not use Google Translate directly — automatic translations are a good starting point, but always review and adapt them
- Adapt, do not translate literally — some phrases have no direct translation; use natural expressions in the target language
- Check the metadata — do not forget to translate the SEO title and description of every page
- Test on the site — open the site and check how the translation looks live, especially buttons and forms
Frequently asked questions
Do I have to translate all pages?
No. You can translate selectively. Pages without a translation in a given language simply will not be available in that language. Visitors using that language will be redirected to the primary-language version.
What happens if I change the original page?
Translations are independent of the original. If you change the original page, the translations stay unchanged. You must update the translations manually to reflect changes in the original.
Can I have a different design for different languages?
No. All languages use the same template and design. This ensures a consistent look of the site in all languages.
How do visitors choose a language?
Visitors use the language switcher that automatically appears in the site navigation when multilingualism is on. The switcher shows the current language and a dropdown with all available languages.
How is the language a visitor sees determined?
The language depends solely on the URL, not on a cookie: /o-nama is always in the primary language and /en/o-nama always in English. When a visitor clicks a language in the switcher, they go to the matching address for that language. Because every address always shows the same language, links can be safely shared and cached, and the result is predictable.