You can prepare your theme to be used in multi-language projects.

It is realy simple, you only need to use the translate function directly in your TWIG template, like this:

{{ translate("There are no more items in your cart.") }}

This function will look into the dictionary and translates the string based on the languageIndex of the domain that is currently being rendered.

Translated strings are stored in the database and managed in the administration panel, in the section Websites -> [DOMAIN_NAME] -> Translations.

E-commerce development framework