This repository is the main source of translations for Skybrush Studio for Blender.
The structure of the repository is similar to the main blender-translations repository.
This repo is connected to Weblate, a cooperative translation frontend. Translation should be performed on the Skybrush Studio for Blender translation website accordingly, where all the languages supported by Blender should be listed.
Merging new translations with our add-on is done by the Skybrush team when new translations are mature enough for an update. If you wish to see your new translations in action, you can test the plugin with the following procedure:
- Open Blender with the "Skybrush Studio for Blender" add-on loaded
- Setup the "Manage UI translations" add-on properly in "Edit" / "Preferences" / "Add-ons":
- clone the official blender and blender-translations sources from GitHub (
--depth 1
is enough ingit clone
) - link them to the "Source Root" and "Translation Root" directories
- save settings to a proper "Persistent data path" as settings might be lost on next Blender execution
- clone the official blender and blender-translations sources from GitHub (
- In "Properties" panel / "Render" / "I18n Update Translation" press the "Import PO..." button under the "Add-ons" section:
- select this repository's
po
directory for the PO inputs/outputs - wait for the translation add-on to import translations and automatically export them to the skybrush add-on's code.
- cut the auto-generated
translations_tuple
section in thestudio-blender
add-on fromui_skybrush_studio.py
and replace the old version inmodules/sbstudio/i18n/translations.py
with the new one (search for the stringAUTOGENERATED I18N SECTION
).
- select this repository's