Our website is localized using a bunch of JSON files with translations (one file per language). The content of the files looks like this:
{
"Password": "Passwort",
"Tables": "Tische"
}
Many team members edit these JSON files at the same time, adding new phrases and editing existing ones, and we get lots of conflicts even though people are changing different lines.
Is there a way to set up git in such a way that would help avoid merge conflicts?
P.S. I've found this script to help merge locally: https://gist.github.com/jphaas/ad7823b3469aac112a52. However, I'm interested in a solution that would fix the problem for everyone in the team (even for persons who edit JSONs through GitHub's web-interface).