# OpenCart Multi-Language: How to Set Up a Multilingual Store

> A step-by-step guide to multi-language in OpenCart 3.0 and 4.1: language packs, default language, translating the catalog and dictionaries, language URLs, and checking for missed translations.

Джерело: https://opencartcode.com/en/wiki/multilang/opencart-multi-language
Оновлено: 2026-11-30

Multilingual support in OpenCart is built into the core. You install a language pack, add the language in the admin, choose the default language, and translate the content on the tabs for each language. The technical part takes an hour. Most of the work goes into translating the catalog, reference data, and emails, along with separate page URLs for each language so search engines see both versions.

The examples are for OpenCart 4.1. In 4.0.x, model triggers and event handling work differently.

## How does multilingual support work in OpenCart, and how do 3.0 and 4.1 differ?

Each language has a record in the `language` table and its own numeric `language_id`. Language-dependent texts are stored in separate tables with the `_description` suffix: product and category names and descriptions, information pages, attributes, and options. Each language has its own row there. Technical data (price, stock, model, images) is shared across all languages. The article about [language_id and store_id in the database](https://opencartcode.com/en/wiki/dev-database/language-id-opencart) explains this scheme in more detail.

The storefront interface works differently. Button labels, cart messages, and block headings come from language files in folders such as `catalog/language/uk-ua/`. So a multilingual store has two layers: content in the database and the "wrapper" in files. You need to translate both.

| What | OpenCart 3.0 | OpenCart 4.1 |
| --- | --- | --- |
| Where language files are located | `catalog/language/{код}/` and `admin/language/{код}/` | The same, but a language pack may be shipped as an extension (the language form has an "Extension" field) |
| How the storefront remembers the language | Through the session and cookie; the page address is the same for all languages | The language is passed in the address (parameter `language`, or a prefix with SEO URLs) |
| hreflang out of the box | No | No, it requires additional work or a module |
| Translating individual phrases from the admin | Design → Language Editor | Design → Language Editor |

The most important difference concerns URLs. In 3.0, the Ukrainian and English versions of a page open at the same address by default, so the search engine sees only one of them. In 4.1, the language is part of the address, which is already a suitable foundation for SEO.

## How to add a new language: the language pack and the language form

A language without a language pack won't work. After you save the form, the storefront looks for the folder with files, and if it's missing, you get errors or blank labels. So the order is:

1. Find a language pack for your exact branch. A pack for 3.0 won't work with 4.1, because 4.1 has a different file structure and many new keys.
2. Install the pack through "Extensions → Installer" or upload the folders via FTP. Check that `catalog/language/{код}/` and `admin/language/{код}/` have appeared and that the code matches the folder name, for example `uk-ua` or `pl-pl`.
3. Open "System → Localisation → Languages" and click "Add New".
4. Fill in the name (the buyer will see it in the switcher), the code, the locale (for Ukrainian, usually `uk_UA.UTF-8,uk_UA,ukrainian`), the sort order, and the status. In 4.1, also specify the extension if the pack is installed as an extension.
5. Save and clear the cache; in 3.0, also refresh the modifications. Then open the storefront and switch the language.

Language list: code, status, and sort order for each language · OpenCart 4.1.0.4

> When you add a language, OpenCart copies all existing texts from the current language into it: product and category names and descriptions, pages, and statuses. The new language is instantly "filled," but in fact it's a copy of the original. If you enable it without translation, you'll get a mass content duplication, and buyers will see Ukrainian descriptions under the English flag.

Keep a language that hasn't been translated yet disabled. Don't delete a language that has content: all descriptions in that language will disappear with it, and they can only be restored from a backup.

## Which language should be the default, and how does the switcher work?

The storefront's default language is set in "System → Settings" on the "Local" tab, in the "Language" field. There is also a separate "Administration language" field. Managers can work in the admin in Ukrainian even if the storefront opens in another language.

Local tab: storefront language and administration language · OpenCart 4.1.0.4

For a store selling in Ukraine, Ukrainian should be the default. This is required by the state language law, and it's what buyers expect. The requirements are explained in the article about [the Ukrainian language in an online store](https://opencartcode.com/en/wiki/multilang/ukrainian-language-requirements-online-store). English, Polish, or another language should be additional, not the first one the visitor sees.

The language switcher in the header of the standard theme appears when there are two or more active languages. The buyer chooses a language, and OpenCart remembers it. In 3.0 this is done through the session and cookie; in 4.1, the language becomes part of the address. A few practical tips:

- Don't enable automatic switching based on the browser language without a way to switch back. A user with an English-language phone in Kyiv shouldn't get stuck in the English version.
- Label the languages in the switcher with their own names ("Українська", "Polski", "English"), not with country flags. A flag represents a country, not a language.
- Check that after switching, the buyer stays on the same page. In 4.1 this works out of the box, while some 3.0 themes send the switcher back to the home page.

## What to translate in the admin besides products?

Everyone translates products, but reference data is often forgotten. In the product, category, or information page form, the "General" tab has language tabs with flags. On each one, fill in the name, description, meta Title, [meta description](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#meta-description), and tags. The article about [a product page that sells](https://opencartcode.com/en/wiki/catalog/online-store-product-card) explains how to prepare the text itself. A translated description should meet the same requirements as the Ukrainian one.

Product form: language tabs on the General tab · OpenCart 4.1.0.4

Checklist of items that have language-specific names and will be empty or in the "wrong" language if you skip them:

- **Attributes and attribute groups.** Without them, the specifications table on the product card will stay in Ukrainian in the second language. Attribute values are translated separately for each product.
- **Options and their values** (size, color), as well as filter groups and filters.
- **Order statuses and stock statuses.** The buyer sees them in their account and in emails.
- **Length and weight units**, [customer group](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#customer-group) names, return reasons and return statuses.
- **Information pages:** shipping, payment, returns, terms. For a foreign buyer, these matter more than the product description.
- **Banners and modules** with text (HTML module, slider headings).
- **Interface texts** from the language files. Individual phrases are easy to edit in "Design → Language Editor" without touching the files.

Language Editor: replacing a single interface phrase for the selected language · OpenCart 4.1.0.4

A separate pitfall concerns manufacturers. Their names don't have language versions in either branch, so the brand is written the same way for all languages. For brands this is normal, but if you keep something like "No brand" under "Manufacturers," choose a neutral name. Third-party modules are translated through their own language files; the article about [OpenCart language files](https://opencartcode.com/en/wiki/dev-mvc/opencart-language-files) shows how this is done.

When there are thousands of products, nobody translates them manually through forms. Usually names and descriptions are exported, translated, and re-imported with a link to `language_id`. The article about [importing products from Excel and CSV](https://opencartcode.com/en/wiki/integrations/opencart-product-import-excel) describes how to do this without duplicates.

## How do you create separate URLs for each language without losing SEO?

Search engines index addresses, not the switcher. If the Ukrainian and Polish versions of a product live at the same URL, only one of them will appear in search results, and it will be chosen at random. So a multilingual store's SEO needs three things:

1. **A separate address for each language.** Usually this is a prefix: `/pl/`, `/en/`, and Ukrainian without a prefix or with `/uk/`. In 4.1 the language is already in the address. In 3.0 you need a module or routing modifications for this.
2. **A separate SEO URL (slug) for each language.** The SEO tab of the product form has a field for each "store + language" pair. For the Polish version, it's better to use a Polish slug rather than a transliteration of the Ukrainian one. The keyword must be unique, otherwise OpenCart won't save the form.
3. **hreflang tags** that link the language versions of the same page, plus `x-default`. None of the branches include them out of the box.

Product SEO tab: a separate keyword for each language · OpenCart 4.1.0.4

How prefixes and hreflang are set up and which mistakes occur most often is covered in detail in the overview of [configuring hreflang, x-default, and language prefixes](https://opencartcode.com/en/blog/nalastuvannia-multimovnosti-v-opencart-hreflang-x-default-i-movni-prefiksi-v-url). For how the address table works, see the articles on [the seo_url table](https://opencartcode.com/en/wiki/dev-mvc/seo-url-opencart) and [SEO-friendly URLs in OpenCart](https://opencartcode.com/en/wiki/seo/opencart-seo-urls). Don't forget the sitemap either: it should include addresses for all languages, ideally with links to the alternate versions. An implementation option is described in the overview of a [multilingual sitemap](https://opencartcode.com/en/blog/sitemap-generator-opencart-ohliad-modulia).

If you don't want to customize the routing yourself, ready-made modules cover some of these tasks. [SEO Multilang Pro](https://opencartcode.com/en/marketplace/product/seo-multilang-pro) is designed specifically for the SEO of multilingual stores. OCT SEO Pro combines [SEO-friendly URLs](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#seo-friendly-urls), redirects, and a sitemap for OpenCart 3.0. This is especially relevant for the 3.0 branch, which has no built-in language addresses. Before installing, check on the module's page which of the items listed above (prefixes, language SEO URLs, hreflang, sitemap) it covers and which releases it is compatible with.

> If only part of the catalog is translated, don't give search engines untranslated pages in the second language. Block them from indexing or leave them out of the sitemap until the translation is ready. A page with Ukrainian text at the address `/pl/` does more harm than no page at all.

## How do you check that nothing has been left untranslated?

We mentioned earlier that when a language is added, OpenCart copies the texts. Because of this, a missed translation isn't visible from an empty field: the original is there. The fastest way to find such spots is a database query that compares the names in two languages. First, look up the `language_id` of your languages in the `language` table. Next, in the example, Ukrainian has ID 1, Polish has ID 2, and the [table prefix](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#table-prefix) is `oc_`:

```sql
-- Товари, у яких назва польською збігається з українською
SELECT uk.product_id, uk.name
FROM oc_product_description uk
JOIN oc_product_description pl
  ON pl.product_id = uk.product_id AND pl.language_id = 2
WHERE uk.language_id = 1
  AND pl.name = uk.name;

-- Товари, для яких рядка польською мовою немає взагалі
SELECT p.product_id
FROM oc_product p
LEFT JOIN oc_product_description pl
  ON pl.product_id = p.product_id AND pl.language_id = 2
WHERE pl.product_id IS NULL;
```

The query works the same way in 3.0 and 4.1. It's easy to adapt for `category_description`, `information_description`, and `attribute_description`. A second query finds products added through an import or a module that wrote the description in only one language. On the storefront, such products don't appear at all in that language: they're missing from categories and search, and the [product page](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#product-page) shows "product not found".

After that, it's worth manually going through the buyer's journey in the second language:

- catalog, filter, and search: whether search works with Polish product names and whether filter groups are translated;
- cart and checkout: shipping and payment methods, error messages, field names;
- order confirmation email. An order keeps the language in which it was placed, so the email and status changes should also arrive in that language;
- customer account: order statuses, history, returns.

Separately, consider the currency and terms for foreign buyers. A second language without the appropriate currency, shipping, and payment rarely brings sales. These topics are covered in separate articles in this section.

## Summary

- Multilingual support in OpenCart consists of two layers: content in the database (`_description` tables with `language_id`) and the interface language files. You need to translate both.
- First install the language pack for your branch, then add the language in "System → Localisation → Languages." While the translation isn't ready, keep the language disabled, because it's filled with a copy of the original.
- In a Ukrainian store, the storefront's default language should be Ukrainian. It's set on the "Local" tab in the settings.
- Besides products, translate attributes, options, filters, statuses, information pages, banners, and interface phrases.
- For SEO you need separate URLs with a language prefix, their own SEO URLs for each language, hreflang, and a multilingual sitemap. In 3.0, you won't get these without a module or customization.
- Finally, find missed translations with an SQL query and walk through an order in the second language, from the catalog to the email.

Next, it's worth looking into currencies, shipping, and payment for the countries you're targeting. All these topics are gathered in the [Languages, currencies, and entering the EU](https://opencartcode.com/en/wiki/multilang) section. If the store is just being set up, check the basic items against the article on [configuring OpenCart after installation](https://opencartcode.com/en/wiki/basics/opencart-settings).

## FAQ

**Can I delete the English language that comes with OpenCart by default?**

Yes, if it is not the default language of the storefront or admin. First switch the default language to Ukrainian, then delete English or simply disable it. Disabling is safer because it keeps the data.

**Will a language pack for OpenCart 3.0 work on 4.1?**

No. In 4.1 the file structure and the set of keys have changed, so an old pack will show empty labels and errors. Look for a pack made specifically for 4.1.

**How many languages can I add to one store?**

There is no hard limit. Each language adds rows to the description tables and increases the workload for translation and support, so enable only the languages you have real customers and translations for.

**Can I show different prices for different languages?**

In OpenCart, the price does not depend on the language: it is shared, and only the display changes through the currency. Different prices for different markets are usually set up with customer groups, separate stores in multi-store mode, or modules.

**Are SEO URLs transferred when I add a new language?**

Don't count on it. Check the SEO tab in products and categories and fill in separate keywords for the new language, otherwise the pages in the second language will have no SEO-friendly URLs.
