> When I change a single word in that file, the Spanish translation does not load anymore
The translation file is a JSON file so make sure you do not make a syntax error (e.g. missing double quotes, commas). Also make sure the file is saved with UTF-8 encoding (e.g. if you open it with Visual Studio it should keep the encoding but Notepad may not)
Are you sure you adding the new properties in spanish translation file in correct places like this:
{
"controlbar": {
...
"find": "Find",
...
},
...
"sidepanel": {
...
"searchTab": {
...
"anyWord": "Any word",
"wildCardMode": "Wildcard search",
...
}
},
...
}
Also note that "translation-es.json" file name should work if the file is correctly formatted (not needed to be "translation-es-AR.json" if it's not specific for es-AR)