|
Get Project Statistics |
Output the TTK name and the desired associated statistics to a log file or command prompt.
Customize the stats information you need to output along with the Source and Target languages.
Catalyst /GetStats TTKName:FileName [Format:Parameters] [OutputFile:Name] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /GetStats FromFolder:FolderName [/S] [Format:Parameters] [OutputFile:Name] [ezLogFile:ezLogFile] [/write] [/open]
/GetSats |
Get Project Statistics |
TTKName:FileName |
Tag used to specify the name and path of a TTK file. |
FromFolder:Foldername |
Tag used to specify the path to a folder from which to GetStats on all TTK files. |
/S |
Recursively scan all directories within FolderName for TTK files to include. |
Format:Parameters |
Select from the list of parameters below the information to output to the OutputFile and/or ezLogFile. Build a string with any description text needed for your output in combination with the parameters. See parameters list below. To format the output, use \\t to insert a tab character or \\r\\n to insert a newline character. If no Format: is specified by the user, a standard format string with wordcounts for each TTK is output. It includes all the parameters except the language codes. |
OutputFile:Name |
User may create an output file for this /GetStats command. If no OutputFile is specified, the output goes to the console and to batchlog (ezLogFile). |
ezLogFile:ezLogFile |
The user can optionally specify a log file to which results of each Catalyst ezScript command are output. If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used. |
/write |
The command line which has been processed by Catalyst will be written into the ezScript batch log file. This will help to debug your command if something is not behaving as expected. |
/open |
Launches MS Notepad and displays the content of ezScript batch log when the command finishes. |
|
/GetStats will by default print the results to the console and the batchlog. |
Parameters list |
Statistics value |
#n |
TTK filename and path |
#1 |
Source Language |
#2 |
Target Language |
#3 |
Source Language code |
#4 |
Target Language code |
#w |
Wordcount |
#p |
Translated % |
#a |
Translatable words |
#t |
Translated words |
#b |
For review (Total) |
#r |
For Review Status |
#l |
Leveraged wordcount |
#f |
Fuzzy Status Wordcount |
#m |
MT Wordcount |
#s |
Sign off Wordcount |
#u |
Untranslated words |
#q |
Untranslated Unique |
#d |
Untranslated Duplicates |
Catalyst /GetStats TTKname:"C:\DATA\MyProject.ttk" format:"TTK: #n\\r\\nsourcelanguage: #1 targetlanguage: #2\\r\\nTranslatable wordcount: #a\\tTranslated wordcount: #t"
Output generated to console and batchlog:
TTK: C:\DATA\MyProject.ttk
sourcelanguage: English (Ireland) targetlanguage: French (France)
Translatable wordcount: 17352 Translated wordcount: 2058
Catalyst /GetStats TTKname:"C:\DATA\MyProject.ttk" format:"TTK:#n\\r\\nsourcelanguage: #1 targetlanguage: #2\\r\\nUntranslated words: #u"
Output generated to console and batchlog:
TTK:C:\DATA\MyProject.ttk
sourcelanguage: English (Ireland) targetlanguage: French (France)
Untranslated words: 15294
Catalyst /GetStats FromFolder:"C:\DATA\Samples" /S OutputFile:"C:\Inflight_Projects\mySamplesStats.txt"
Catalyst /GetStats TTKname:"C:\DATA\FLUDD\MyProject_JA.ttk" Format:"Project: #n\\r\\nSource Language: #1 Target Language: #2\\r\\nFor Review: #r\\r\\nLeveraged: #l\\r\\nFuzzy match: #f\\r\\nMachine Translated: #m\\r\\nSigned off: #s\\r\\n\\r\\nUntranslated wordcount: #u\\r\\n" ezlogfile:"C:\Logs_bag\Batchlog1.txt" /write /open
ezScript batchlog output for this command:
/GetStats TTKname:"C:\DATA\FLUDD\MyProject_JA.ttk" Format:"Project: #n\\r\\nSource Language: #1 Target Language: #2\\r\\nFor Review: #r\\r\\nLeveraged: #l\\r\\nFuzzy match: #f\\r\\nMachine Translated: #m\\r\\nSigned off: #s\\r\\n\\r\\nUntranslated wordcount: #u\\r\\n" ezlogfile:"C:\Logs_bag\Batchlog1.txt" /write /open
Project: C:\DATA\FLUDD\MyProject_JA.ttk
Source Language: English (Ireland) Target Language: Japanese (Japan)
For Review: 30
Leveraged: 449
Fuzzy match: 1940
Machine Translated: 0
Signed off: 6469
Untranslated wordcount: 8460
Catalyst has exited with code 0