Weblate for Unity is a plugin inspired by Crowdin's plugin that allows Unity programmers to pull and push translations directly between the Unity localization package and the Weblate project.
- On your Unity project click on Edit > Project Settings and select Package Manager
- Create a new scoped registry with the following data:
- Name:
NPM - URL:
https://registry.npmjs.org - Scope(s):
com.sourcemacchiato.weblate
- Name:
- Click on Apply
- Open the Package Manager and select My Registries
- Select Weblate and click on the Install button
Before use the plugin you have to open Tools > Weblate > Settings and fill these values.
Enter the url of the host. At the time the plugin doesn't correct it so be careful to add http:// or https:// and to not add a / at the end of the url. For exemple https://hosted.weblate.org.
You can use either a user token (starting with wlu_) or a project token (starting with wlp_), but for security reasons we recommend using a project token.
Enter the slug of your project.
In this dropdown you can select between CSV, Json and PO formats.
At the time only Pull string translations from Weblate is available. Push string translations, Pull asset translations and Push asset translations will come in future updates.
- Click on
Tools>Weblate>Pull string translations. - Choose between
All tablesorSelected tables. If you selected the second option select tables you want to pull. - Click on
Pull string translations from Weblate.