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}> tags are 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.
Related articles
Fetch content from external URL in themes
Guide to fetching content from external URLs in Shoporama themes with the Smarty fetch feature.
What themes are there on Shoporama?
Overview of all free themes on Shoporama - Delaware, DelawareDK, California, Alaska2, Washington and more.
Change the content of your emails
Guide to customize the content of the automatic emails your Shoporama webshop sends, either via admin or theme templates.