How to open the site in the desired language for a specific region of a country
← BackIn the "Language switcher" informer settings, fill in "Exception rules": a line like "UA: Crimea, Donetsk = ru".
- In the site structure, open the language switcher informer → "Module settings".
- In the "Exception rules" field, write one rule per line:
Country code: regions separated by commas = language code. For example:UA: Crimea, Sevastopol, Donetsk, Luhansk = ru. - Click "Save" in the section window.
On the first visit, the language is selected based on the visitor's country. The rule makes an exception for specific regions. A region can be specified by part of its name ("Donetsk" will match "Donetsk region") or by region code. Without a list of regions (BY = ru), the rule applies to the whole country.
The rule works only if its language is enabled for the site, and only on the first visit: for someone who has already chosen a language themselves, it changes nothing. An empty field means no exceptions. If the informer has never been saved, the default rule for Crimea and Donbas applies.
If it didn't work
- You're testing on yourself — the language doesn't change. Your choice is already remembered by the browser for a year. Test in an incognito window.
- The region is not recognized. Region names sometimes come in English — add both variants to the line, as in the default rule.
See also
Tips for working with the builder
The "Help" section is made for those who are building a website on "Pervaya Liniya" for the first time. It contains answers to common questions: how to create a website, what to write in the fields, how to edit texts and photos, how to connect your own domain, and how to set up sections. The materials will help you figure things out without contacting support.
The builder is simple: you fill in the fields on the creation page, and then edit the content directly on the finished website. If something does not work or is unclear, check the relevant help item. The instructions are written in plain language and describe every step.
In Help you will find answers to questions:
- how to come up with a website address and what to do if the name is taken;
- how to change the title, description, and other texts on the page;
- how to add products, services, or request forms;
- how to connect your own domain instead of an address on firstline.com.ua;
- how to set up sections and modules for your business needs.
If you cannot find the answer you need, use the feedback form — we will help you figure it out. The section is updated so that you can always find current information about working with the builder.
