Welcome to the Weblate-based Translation File Management repository for Ren'Py projects! This repository serves as a guide and toolkit for managing translation files in CSV format using the Weblate platform. The instructions provided here are suitable for any Ren'Py project seeking to streamline their translation process.
This repository provides comprehensive guidance on managing translation files in CSV format using the Weblate platform. The instructions outlined here are designed to be adaptable to any Ren'Py project, ensuring efficient collaboration among translators.
-
Set up a Weblate server by following the instructions provided in the Weblate Documentation.
-
Clone the Repository: Clone the repository to your local machine.
-
Configure Set up
weblate.iniwith your data. -
Create CSV Files: Run
3_export_csv.batto create CSV files for all the langauges from theEXISTING_LANGUAGES.json. -
Upload New CSV Files: Run
4_update_weblate.batto upload the new CSV files to Weblate.
To update and upload translation files of your Ren'Py project, follow these steps:
-
Download Changed Lines: Run
1_update_repos.batto download all the changed lines from the Weblate site. -
Update
lines.json: Run2_update_import.batto update thelines.jsonfile. -
Create CSV Files: Run
3_export_csv.batto update the lines in CSV files. -
Upload New CSV Files: Run
4_update_weblate.batto upload changed CSV files to Weblate.
To add new languages to your Ren'Py project, follow these steps:
-
Download Changed Lines: Run
1_update_repos.batto download all the changed lines from the Weblate site. -
Update
lines.json: Run2_update_import.batto update thelines.jsonfile. -
Modify Existing Languages: Add the new language and its language code to the
EXISTING_LANGUAGES.jsonfile. -
Add Language Name: Add the new language and its name to the
LANGUAGE_NAMES.jsonfile. -
Create CSV Files: Run
3_export_csv.batto create CSV files for the added language. -
Upload New CSV Files: Run
4_update_weblate.batto upload the new CSV files to Weblate.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
© 2017-2023 All rights reserved. Sad Crab Company. Contacts: mailto:[email protected]