Hi Michal
My idea was to use Weblate without remote repository (to avoid cloning remote
repo to Weblate - security issues)
and to develop an app that will take care for .properties file synchronization.
So I have created multiple translation components in Weblate and for each
component added the translations (languages).
This is just the configuration and there are no real translations (file) in
Weblate yet. Once this completed I have started the
app that:
1) Read all projects from Weblate (with the use of Weblate API) - works
2) Read all components for each project from Weblate (with the use of Weblate
API) - works
3) Read all translations for each component from Weblate (with the use of
Weblate API) - works
4) Take the related . properties file from Gitlab (based on project - component
- language internal mapping ) and upload the file to Weblate with
the API described above - even if I set "method = replace" I get "400 -
Bad Request"
Have I done something wrong while configuring components and translations?
Thank you.
Mitja
_______________________________________________
Weblate mailing list -- [email protected]
To unsubscribe send an email to [email protected]