Windows tends to add desktop.ini files to various folder. These files tell Windows e.g. what icon to display for a certain folder. By default, desktop.ini is not visible within the Windows explorer (hidden or system file attribute). Unfortunately, desktop.ini files may contain confidential information. By default OmegaT support *.ini files as key=files type.
I do often add whole folders as source to OmegaT instead of adding only single files. This means, that also (even if insivible) desktop.ini files will be added to the project.
The result is:
- The file is included in the project and may contain confidential information if the project is send to another person
- The file is displayed within OmegaT to be translated
I assume that only very few people translate ini files. The majority does not. So I would suggest the following:
- Disable ini file support by default. Users that need it, might switch it on.
- AND/OR do not add windows hidden or system files by default
I workaround for me would be to do this on my installation. But the omegat.project file seems not to save this setting for the project. This means, when I send the project to a translator, he will see the desktop.ini file in this project file list.
By the way: a similar problem arises with hidden thumbs.db files (contain image previews). They are added as well, but at least not displayed to be translated.
If you want project-specific file filter options, go to Project Properties, File Filters and check Make the file filter settings project specific.
Didier
Great, didn't know about this project specific setting. Is it turned off for every new project or does it keep it's settings?
Unfortunately it does not solve the hidden file problem.
Last edit: eraser 2014-02-06
It's off for every new project. It works by copying (when the option is checked) segmentation.conf into the /omegat folder of the project.
Didier
Implemented in SVN (/trunk).
Didier
A generic feature (hence the change of title) was developed.
In Project Properties, an Exclusions button allows entering folders and files to ignore in the /source folder.
In that dialog, it is possible to Add or Remove an exclusion pattern. It is also possible to edit one by selecting a line and pressing F2.
By default, .cvs and .svn folders are excluded (prior to this development, those folders were ignored).
We added "CVS" (to ignore CVS folders, consistently with ".cvs"), and "desktop.ini" and "Thumbs.db" to the default set, as those files are know to create issues under Windows.
Projects created before the feature and new projects will use the default set.
It is possible to use standard wildcards ( and ?) plus *, using the ant syntax:
https://ant.apache.org/manual/dirtasks.html#patterns
Didier
Last edit: Didier Briel 2014-07-30
Closing.
Implemented in the released version 3.1.4 of OmegaT.
Didier