05/16/2016 12:00 AM How to localize storefront
Virto Commerce

How to localize storefront

Updated:

Adding new language translation to Storefront

Storefront localization is very similar to VC Manager localization. Check it for details on working with translation files.

  1. Make a copy of <vc-storefront repository location>\VirtoCommerce.Storefront\App_Data\Themes\default\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 VC Manager ( 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: