Transifex
Transifex is a platform for translating website content into multiple languages using a proxy-based translation system.
Key features include:
- Website translation using a live proxy script
- Automatic detection of website content
- Translation management and workflows
- Language switching for visitors
- Continuous synchronisation of updated content
Transifex integrates with ShopWired by adding a tracking script 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 Transifex.
After creating a project, configure the Live translation feature by providing your website URL. Transifex will scan your website content and prepare it for translation.
Once configured, Transifex will provide a JavaScript tracking script and API key for installation.
Theme installation
Theme installation
Transifex provides a script similar to the example shown below:
<script type="text/javascript">
window.liveSettings = {api_key:"YOUR_API_KEY"};
</script>
<script type="text/javascript" src="//cdn.transifex.com/live.js"></script>
The script shown above is provided as an example only. You must copy the exact script provided in your own Transifex account, as the script and API key will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Add the script just above the closing
</head>tag - Select Save changes
Once installed, Transifex will detect visible content on your ShopWired website and replace it with translated versions based on the visitor’s selected language.
Translations are managed and approved within your Transifex account. When updates are made to your ShopWired content, Transifex can detect these changes and allow them to be translated without requiring further changes to your theme.
Recommendations
Recommendations
- Test translations on a draft theme before publishing changes
- Review automated translations for accuracy before making them live
- Use language switching only where required for your target markets
- Monitor key pages such as product and checkout pages after translation
- Keep a record of your Transifex project configuration and API key