Closed olizilla closed 5 years ago
@olizilla removing locales from repo will introduce various issues. I am against mainly for two reasons:
~/.transifexrc
, which complicates CI and local setups for drive-by contributorsTo avoid people submitting PRs with translations, we could:
public/locales/README.md
or public/locales/READ_THIS_BEFORE_TRANSLATING.md
Also, I suggest we always close PRs that bypass Transifex (eg. https://github.com/ipfs-shipyard/ipfs-webui/pull/950 - should close without merging).
Gently thank for translation and ask them to apply changes via Transifex or just link to ipfs/i18n#how-can-i-contribute-translation-for-my-language
We should remove all the locale files from the repo and and them to the .gitignore, and update the docs and run scripts to fetch them on postinstall.
Having generated artefacts in a repo always leads to trouble eventually, and in this case it sets us up to waste the time of people who volunteer to fix translation issues.
See #950