Hi First of all congratulation for such amazing translation tool. I have started to implement the translation integration with our Gitlab but have started to facing some issues once go to production. On test environment everything was OK but it get stacked on prod.
The problem is because if we want to have Weblate available for translators, the tool needs to be public and available on Internet. Of course this is not a problem for Weblate but it become a problem once we want to integrate with Gitlab because this imply also Gitlab to be public (to be in the same network), which for security reasons will never happen. Base on the fact I started to work on the sync application (written in Java) that will use Weblate API to take the files from GitLab, upload to Weblate and take care for the sync. I started with the development but got stacked once again with the upload of the file in Weblate. When for instance running the curl: sudo curl -X POST -F [email protected] -H "Authorization: Token <token>" https://hostname/api/translations/project/component/en/file/ I get the error: {"detail":"You do not have permission to perform this action."} Now I have two questions: 1) Do you have some suggestions hot to do the integration when Gitlab and Weblate are not in the same network (any similar use case)? 2) Do you have some samples (maybe Java client implementation) how to upload translation files with the use of API and what caused the error in the example above? Thank you for your help. Mitja _______________________________________________ Weblate mailing list -- [email protected] To unsubscribe send an email to [email protected]
