Skip to content

Commit 11791dc

Browse files
2 parents 85782bf + 2f13418 commit 11791dc

File tree

1 file changed

+111
-5
lines changed

1 file changed

+111
-5
lines changed

README.md

+111-5
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,123 @@ Example use-case:
1010
Translate foreign movie *.mp4 file names.
1111
Translate names of songs ripped from an imported foreign album.
1212

13+
14+
# Features
15+
16+
### 1. Translates all file names in selected folder.
17+
18+
Scans all files in selected folder, and only displays files having names in different language from the targetted language.
19+
20+
File renaming does not occur untill one of the following options is selected.
21+
- [Rename All]
22+
23+
Renames all files displayed on the list.
24+
25+
- [Rename Selectedl]
26+
27+
Renames only selected files on the list.
28+
29+
- [Rename Unselected]
30+
31+
Renames only files that are not selected.
32+
33+
- [Rename Checked]
34+
35+
Renames only files that have been checked.
36+
37+
- [Rename Unchecked]
38+
39+
Renames only files which have not been checked.
40+
41+
42+
43+
44+
### 2. Modify translated name
45+
46+
The translated name on the list, can be edited before performing the rename action.
47+
48+
### 3. Search Recursively
49+
50+
By default, only the files on the root directory are scanned, but by selecting this option, the scan will also search all sub folders.
51+
52+
### 4. Long Path Support
53+
54+
By selecting this option, the rename will occur even if the full path is longer then 255 characters.
55+
56+
### 5. Append Original Name
57+
58+
When selected, this options includes the original file name when renaming the file. Example: TranslatedName(OriginalName).gif
59+
60+
### 6. Append Language Name
61+
62+
When selected, appends the source language name to the renamed file. Example: TranslatedName_[Russian].gif
63+
64+
### 7. File Type
65+
66+
This option can be used to scan only file a specific file extension. Example: .gif
67+
68+
### 8. Max Threads
69+
70+
By default the programs uses the ProcessorCount to determine the maximum threads to use. This options allows the end user to override that option. The minimum value is 4, and the maximum value is 400.
71+
72+
### 9. Max Translation Len
73+
74+
The translation length is used when the program translates many files in a single translation request. This happens if there are many files (over 100), or if the user selects option to translate many files per request.
75+
76+
This value is set to 10000 by default. The minimum value is 255, and the maximum value is 10,000.
77+
78+
### 10 Files-Per-Translation-Req
79+
80+
This options determines if one file is used per translation request, or if many files are used per translation request. The following are the possible options to select from the combobox window.
81+
82+
- [Auto]
83+
84+
This is the default option. It automatically sets the best method depending on the totoal number of files to check for translation and the maximum thread settings.
85+
86+
- [OnePerFile]
87+
88+
Only one file is sent per translation request. This is the preferred option if the files have different languages.
89+
90+
- [Many]
91+
92+
Multiple files are sent per translation request. This is the perferred option if the files are all in either the source language or the target language.
93+
94+
95+
### 11 Target Language
96+
97+
This setting is an [ISO 639-1](https://wikipedia.org/wiki/List_of_ISO_639-1_codes) two letter code.
98+
By default, the target language is set to the operating system language settings. (CurrentCulture.TwoLetterISOLanguageName)
99+
100+
Use this option to override the target language. See [ISO 639-1](https://wikipedia.org/wiki/List_of_ISO_639-1_codes) link to get desired language code.
101+
102+
### 12 Source Language
103+
104+
This is empty by default. When this value is empty, the translation works in "Auto" mode, which lets the translator determine the source language.
105+
106+
For most use cases, this value should be left empty. If populated, use [ISO 639-1](https://wikipedia.org/wiki/List_of_ISO_639-1_codes) link to get desired language code.
107+
108+
### 13 Filter
109+
110+
This option allows user to use keywords to find or filter the list to only items having the keyword(s).
111+
112+
When this option is used, and the "Rename All" option is selected, only the resulting filtered items displayed are renamed.
113+
114+
[![Screenshot2](doc/screenshot2.png)](https://github.com/David-Maisonave/TranslateFileNames)
115+
116+
# Console Program
117+
13118
## Command Line Example Usage:
14119

120+
- TranslateFileNames -r
15121

16-
TranslateFileNames -r
122+
- TranslateFileNames "C:\Users\jane-doe\Pictures" -r -ext *.jpg
17123

18-
TranslateFileNames "C:\Users\jane-doe\Pictures" -r -ext *.jpg
19124

20-
## Authors
125+
# Authors
21126

22127
* **David Maisonave** - [David-Maisonave](https://github.com/David-Maisonave)
23128

24-
## License
25129

26-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
130+
# License
131+
132+
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)