Language support in themes
Guide to using the translation feature in Shoporama themes with Smarty t-tags and language files.
Shoporama has a built-in translation feature for themes. You mark text with Smarty <{t}> tags and the translations are handled automatically.
How to mark text for translation
Use <{t}> tags around text to be translated:
<{t}>Add to cart<{/t}> <{t}>See more<{/t}> <{t}>Price<{/t}>
Translate texts
- Go to Design → Translations in your admin
- All texts marked with
<{t}> tagsare shown here - Enter the translation for each language
- Click Save
Active languages
Configure your active languages under Settings → Languages. Shoporama supports e.g:
- Danish (da)
- English (en)
- German (de)
- Swedish (sv)
- Norwegian (no)
Product translations
Product titles and descriptions are translated directly on the product under the tab for that language. See also alternate tags for products in multiple languages.
Tip for translating
Use <{t}> tags consistently in your theme. Text without tags cannot be translated and always appears in the original language.
Do you need help? Contact us at support@shoporama.dk.