Sorry, it should have been scripts. The folder you mention is an old artifact that was used as a very primitive API to access segment contents. It has no relation whatsoever with what we call "scripts" here. The scripts folder is what we discuss here and it is by default in the application folder. Maybe it is time to rename that old script folder to something more explicit, and keep scripts for the OmegaT distributed scripts.
Ok, so, the script folder is in the application folder for any version of OmegaT. Some users know that it can be in the configuration folder and put either all or a part of the scripts in the configuration folder. So the easiest and safest way to solve the issue is to check whether there is a script folder in the configuration folder. If there is none, install the scripts, if there is one, consider that it is user action and do not install anything. What do you think?
The "event based action" folders are automatically created since 6.0, which means that pre-6.0 can have a normally populated script folder but without "event based action" folders. In that case, I don’t think overriding with default scripts in the good choice. That indicates a system that is being upgraded from pre-6.0 to 6.0+, in which case I think we should just add the non existing "event based action" folders. What do you think?
@msoutopico, are you satisfied with the implementation?
Spellchecking still does not work. And there is a new (probably unrelated) error. 13:58:59.614: Info: Évènement : modification du projet - « LOAD » (LOG_INFO_EVENT_PROJECT_CHANGE) 13:58:59.712: Info: Selected LanguageTool source language: ja-JP (LANGUAGE_TOOL_SOURCE) 13:58:59.712: Info: Selected LanguageTool target language: fr (LANGUAGE_TOOL_TARGET) 13:59:00.127: Info: Chargement du glossaire glossary.txt (CT_LOADING_GLOSSARY) 13:59:00.245: Info: 628 entrées de glossaires ajoutées depuis glossary.txt...
Thank you Jaime. It is the correct place. I’m not working on Linux, but somebody who does will eventually comment.
I just sent your proposal to the user list. Let’s see how it goes.
You’re right. That’s pretty much the original setting as it’s been for close to 20 years. The diff function was only added later.