Language Editor
Editing language translations and text strings in OpenCart 4
Video Tutorial
Video: Using the Language Editor in OpenCart 4
Introduction
The Language Editor in OpenCart 4 is a powerful tool that allows you to override any text string in your store without modifying the physical language files. This ensures your customizations are "update-safe," meaning they won't be lost when you upgrade OpenCart or your extensions. It's the ideal way to customize branding, improve messaging, or fix translation errors.
Language Editor List

The Language Editor list shows all the active translation overrides in your store. From this interface, you can:
Add New: Create a new translation override.
Edit: Modify an existing override.
Delete: Remove an override and revert to the default text.
Filter: Search for specific overrides by store, language, or route.
Creating a Translation Override
To change a specific piece of text on your storefront or admin panel, follow these steps:
Select Route and Key
Store: Choose the store where the change should apply.
Language: Select the target language.
Route: Select the page or module where the text is located (e.g.,
common/headerfor the header).Key: Select the specific text variable from the dropdown. OpenCart 4 automatically populates this list based on the Route you selected.
Language Editor Form

Configuration Fields
Store: Allows you to have different text for the same item on different sub-stores.
Language: Essential for multi-language stores to ensure the right translation is updated.
Route: The internal path to the language file. For example,
checkout/checkoutcontains strings for the checkout page.Key: The specific identifier for the text string. In OpenCart 4, this is a searchable dropdown, making it easy to find the exact string you need.
Default: Displays the original text from the language file so you know what you are changing.
Value: Your custom text. This is what will be displayed on the storefront.
Best Practices
Common Tasks
Warnings and Limitations
Troubleshooting
"The Language Editor is the bridge between a generic store and a personalized brand experience. It gives you total control over your store's voice without touching a single line of code."
Last updated