Adding a language to OpenCart 4 looks simple: System > Localisation > Languages > Add. But if you only do that, the new language shows English buttons, broken labels and untranslated products. This guide explains what OpenCart 4 really needs, and what to do when there is no language pack for your version, theme or extensions.
What OpenCart 4 needs for a language
- a language record (name, code such as
de-de, locale, status, sort order); - the language files of the store, in
catalog/language/de-de/(andadmin/language/de-de/if you want the admin translated); - a flag image and the main file
de-de.phpwith date and number formats; - the language files of every extension, which in OpenCart 4 live in
extension/<name>/catalog/language/de-de/; - a translated copy of every product, category, page, attribute and option in the database.
Important: unlike OpenCart 3, OpenCart 4 does not fall back to English when a language file is missing. A missing file means the raw text keys appear on the page, for example text_cart instead of "Cart".
Option 1: a language pack
- Find a pack for your exact OpenCart version on the marketplace.
- Upload it with Extensions > Installer and install it.
- Enable the language in System > Localisation > Languages.
- Translate the missing theme and extension texts by hand, file by file.
Packs are free or cheap, but they rarely cover your theme and your extensions, and they may lag behind OpenCart updates.
Option 2: generate the language automatically
AI Translator for OpenCart creates the language for you: choose it from a list of 33 (right-to-left included), click Create and translate, and it adds the language record, flag and formats, then translates every language file of the store, your theme and all installed extensions with DeepL, Microsoft Azure, ChatGPT, Claude or Gemini. Its Complete texts button fills the gaps in any language later, for example after installing a new extension or updating OpenCart, without touching files written by people or other vendors.
Then it translates your catalog, creates translated SEO URLs and adds hreflang tags. You use your own API key: the free DeepL Developer plan (1 million characters) is enough for the interface plus hundreds of products.
Try it on a live store
Open the OpenCart 4 demo (user demo, password demo), go to the Languages tab and create a language with your own key: the guided tour shows every step. Full instructions are in the documentation; for the SEO side see our guide to hreflang and translated SEO URLs.