<img src="abc.png" />
call to replace anchor tags contains '/admin' in href

Translations in design theme

StoreHippo provides support for translations in all its themes. Translations in design theme allow you to translate the keys of a widget into another language.

Translations can be added to the design theme in few easy steps:

  1. Go to design theme in StoreHippo Admin Panel.
  2. Click on HTML and open a widget in which you want to add translations.
  3. Go to the Translations tab of the widget.
  4. Choose the language for which translations are to be added.
  5. Translations in design theme allow you to provide values to the supported keys for translations of a widget in another language. If the value for the key is already defined in the admin panel, the value field for that key is auto-populated. You can make changes to the value if you wish to. The values are used for translation on front-end.
  6. Save the changes.

The translated values are reflected on the frontend as follows:

Also, in order to translate the text that is added on the static pages, it is required to use msTranslate filter with the custom text added by the user.

Following syntax is required to be used, for example, if the user added text "Welcome to My Store", then in order to translate this text in other languages it is required to follow the following syntax as:

{{'<YOUR TEXT>'|msTranslate}}, for above case which will be {{'Welcome to My Store'|msTranslate}}.