Crowdin
Crowdin is a platform for translating website content into multiple languages using proxy-based translation technology.
Key features include:
- Website translation via proxy technology
- Language switcher for visitors
- Translation management and workflows
- Automatic content synchronisation
Crowdin integrates with ShopWired by adding a tracking to the ShopWired theme so you can display translated versions of your website content to visitors.
Account creation
Account creation
Create an account on the website at Crowdin.
After creating a project and configuring the Website Translator integration, Crowdin will provide a JavaScript tracking script for installation on your website.
Theme installation
Theme installation
Crowdin provides a script similar to the example shown below:
<script src="https://website-translator.app.crowdin.net/assets/proxy-translator.js"></script>
<script>
window.proxyTranslator.init({
baseUrl: "https://yourdomain.com/",
distribution: "XXXXXXXXXXXX",
defaultLanguage: "en"
});
</script>
The script shown above is provided as an example only. You must copy the exact script provided in your Crowdin account, as the script and any ID values will be unique to your website.
To install the script on your ShopWired theme:
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Add the main script just before the closing
</head>tag - Add any additional required class or code to the
<body>tag as specified in your Crowdin account - Select Save changes
After the script has been added, Crowdin will begin providing translated versions of your website content.
Recommendations
Recommendations
- Ensure your website URL is correctly configured in Crowdin before publishing translations
- Test language switching functionality on a draft theme before applying to your live site
- Avoid adding the script multiple times across theme files
- Review translated content within Crowdin before publishing changes