OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.45k stars 947 forks source link

Be able to override generated translations with manual translations #9094

Open labo-flg opened 2 days ago

labo-flg commented 2 days ago

Current problem

Our translations are generated with an automated script. Sometimes, the translations are not good enough and manual corrections must be done.

However, there is a risk of overwriting the corrections if we run the script once again. Sometimes, such correction would be lost in merging PRs, as these files are regularly conflicted.

Solution

We could implement a system with both translations living in different files

And final translation would be taken from the "auto" files with "manual" on top to override some keys.

This will be easier to integrate contributions from community on translations, with much less friction during merge/conflict resolution, etc.