09/04/2017 12:00 AM How to localize theme
Virto Commerce

How to localize theme

Updated:

Adding new translation to theme

Storefront theme localization is very similar to VirtoCommerce Platform localization. Check it for details on working with translation files.

  1. Make a copy of <theme repository location>\locales\en.default.json file
  2. Rename the copied file to begin with your needed language 2 letter code (e.g., "es.default.json").
  3. Translate the file content.

Adding new language to store

  1. Open your store in VirtoCommerce Platform ( More → Browse → Stores → <your store> ).
  2. Check whether your language exists in the "Additional languages" available values list or add it in case it's missing: