However, we would recommend that you install the snippet before doing anything else to take advantage of the Transifex Live sidebar, which runs directly on your site.
Adding a website
Create a Live project if you don’t have one yet.
Select your project from the project navigation in the Dashboard.
Click the Add Resources button in the top right side.
Type your website’s URL into the Add a website URL field and click Create resource.
Getting the snippet
Now that you have a web project and resource, you can get the snippet:
Navigate to the Dashboard and select the project with the resource for which you want to get the snippet.
Click on Resources.
From the list of resources, click on the one you want to get the snippet for.
Click the 3 vertical dots and select Settings.
Copy the snippet from the popup.
Installing the snippet
After you have copied the snippet, paste it before the
</head> tag of each page you want to translate. And that’s it. You’ll now be able to trigger the Transifex Live sidebar on your site and approve strings for translation.
If the snippet cannot be placed in the
</head> tag, you should set the
manual_init parameter to a Boolean true value (more info here) and call
Transifex.live.init() when you're ready for the snippet to run.
Using Transifex Live on a staging server
This lets you approve and translate content from the staging server before taking it live on your production server – without needing to do duplicate work. Simply return to the Settings popup you copied the snippet from, enter your staging domain, and click Save Settings.
Looking for more help? Get support from our Transifex Community Forum!
Find answers or post to get help from Transifex Support and our Community.