When calling static text in the content of your storefront pages. If the template contains a call to the $i18n.write
, then its performing a look up first against the languages file "eng.default.json" for a match.
If it finds a match there it will use the text as defined in the languages document. If it does not find a match there, it will use the string as defined in the template code directly.
<div class="ucColorSubHeader">$i18n.write("checkout.viewcart.yourContactEmailField", "Your contact email")</div>
StoreFronts does not yet support multi-lingual pages. You may switch the language in your merchant settings, but we do not yet have on-the-fly support for browser language headers. |