Open mrsarm opened 4 years ago
@sexybiggetje any thoughts about this?
Some form of user administration is required to fight spam and malicious updates. Editing on GitHub for larger files is not really that great. Crowdin and Transifex allow you sign in with other authentication providers like Github, Google or Facebook. That eases the step for many people. Both platforms require you to be accepted in to a translation team like poeditor does, and don't provide those features.
You can however use GitHub actions to run the CLI tool, and let it make a pull request on the repository. Which might facilitate what you want with a little bit of effort. https://github.com/marketplace/actions/create-pull-request
What feature do you want to improve?
Today the translations workflow using POEditor.com is not as open as the CHT source code, I want a more open workflow to allow more people (everybody) be able to translate the CHT, in an accountable manner.
Current workflow: https://docs.communityhealthtoolkit.org/core/overview/translations/
Describe the improvement you'd like
Currently the CHT source code is publicly available at Github, and everybody can propose changes but without modify the original source code, creating a fork and then a PR with the changes. Despite the same workflow can be used to translate the app editing the files here, pull requests may not be suitable for non-developers audience, that's way we use POEditor.com.
I sent a question/suggestion to POEditor here, quote:
The response (in the same thread) from the POEditor team is:
But I don't think it would be a good solution, so I don't have a clear proposal now, but I wanted to create the ticket to leave open the discussion here.
Describe alternatives you've considered
As mentioned above, we can use just Github pull requests, the user don't need an editor and git installed because the Github webapp allows to change the source code of any file clicking a button, with a web editor provided by Github. If we document how to do that it may work, the major problem is that .properties files despite are simple also have specific rules, like white spaces in keys needs to be escaped with
\
, same for line returns and some special characters. Also POEditor.com provide a more appealing interface for non developers users.Additional context
Despite POeditor.com is open in the sense that we can add anybody to our projects to contribute, the need to add the user to the POEditor project first as a user within the organization to just change a few translations adds friction that may discourage people to contribute, while in Github anybody without invitation can do it. Also once a new contributor edit translations, we lost track of what was the original translation the contributor have edited (accountability), although we still have the original translations in Github, there is no automated way to rollback what the contributor edited in POEditor that we don't liked, that is because I would like contributions to be drafted instead of saved overwriting the original one, like pull requests.