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.ini
with your data. -
Create CSV Files: Run
3_export_csv.bat
to create CSV files for all the langauges from theEXISTING_LANGUAGES.json
. -
Upload New CSV Files: Run
4_update_weblate.bat
to 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.bat
to download all the changed lines from the Weblate site. -
Update
lines.json
: Run2_update_import.bat
to update thelines.json
file. -
Create CSV Files: Run
3_export_csv.bat
to update the lines in CSV files. -
Upload New CSV Files: Run
4_update_weblate.bat
to 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.bat
to download all the changed lines from the Weblate site. -
Update
lines.json
: Run2_update_import.bat
to update thelines.json
file. -
Modify Existing Languages: Add the new language and its language code to the
EXISTING_LANGUAGES.json
file. -
Add Language Name: Add the new language and its name to the
LANGUAGE_NAMES.json
file. -
Create CSV Files: Run
3_export_csv.bat
to create CSV files for the added language. -
Upload New CSV Files: Run
4_update_weblate.bat
to 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]