· |
/AddLanguage
/AddLanguage
/proj filename /lang langcode
or /al ...
DESCRIPTION: |
Adds a new target language
to a translation
project. |
PARAMETERS: |
1.
filename
Project file name; the
full path to the
(.rwtproject) or to the (.fsmdb).
2.
langcode
Target language; the language
code for the language to add. |
RETURN VALUES: |
"1" = successful.
The target language has been added.
"0" = unsuccessful.
The target language not has been added.
"-1" = error. |
EXAMPLES: |
(1)
/AddLanguage /proj
"c:\dir\myproject.rwtproject"
/lang ja-JP
(2)
/al
/proj
myproject.fsmdb /lang
fr-FR |
^ TOP ^
|
· |
/HasLanguage
/HasLanguage
/proj filename /lang langcode
or /al ...
DESCRIPTION: |
Checks the existence of
a specified language in the translation
project. |
PARAMETERS: |
1.
filename
Project file name; the
full path to the
(.rwtproject) or to the (.fsmdb).
2.
langcode
Target language; the language
code for the language to add. |
RETURN VALUES: |
"1" = successful,
meaning "yes"or "true".
"0" = unsuccessful,
meaning "no" or "false".
"-1" =
error. |
EXAMPLES: |
(1)
/HasLanguage
/proj
"c:\dir\mytrans.rwtproject"
/lang ja-JP
(2) /h
/proj
mytrans.fsmdb /lang
fr-FR |
^ TOP ^
|
· |
/Help (or /help) (also: /?)
/Help
[command]
or /? ...
DESCRIPTION: |
Writes command line usage
information to the console output. |
PARAMETERS: |
1.
< command
> (OPTIONAL)
Name of a command. To
get help on the command, use the command parameters
and command options. |
EXAMPLES: |
(1)
/help
(2)
/help
/WriteTargetFile
(3) /?
/ExportProject |
^ TOP ^
|
· |
/AddSourceFile
/AddSourceFile
/projfilename /srcfile
filename
or /as ...
DESCRIPTION: |
Adds a new to the translation
project. |
PARAMETERS: |
1.
filename
Project file; the full
path to the (.rwtproject) or to the (.fsmdb).
2. filename
Resource file; the full
path to the to be added. |
RETURN VALUE: |
"1" when successful. |
EXAMPLES: |
(1) /AddSourceFile /proj
"c:\dir\mytrans.rwtproject"
/srcfile
"c:\dir\files\app.rc"
(2)
/as
/proj
"c:\dir\mytrans.rwtproject"
/srcfile
"c:\dir\files\strings.ini" |
^ TOP ^
|
· |
/AddTextToLogFile
/AddTextToLogFile
/log logfile /logtext "text to add"
or /at
...
DESCRIPTION: |
Writes text as a single
line to the log file.
NOTE: The ""
and ""
parameters can be used with each command. |
PARAMETERS: |
1.
filename
File name of the log file
(.log or. .txt).
2.
text
Text to be added to the
log file. |
RETURN VALUE: |
"1" when successful. |
EXAMPLES: |
(1)
/AddTextToLogFile
/log
logfile.log /logtext "Hello
World!"
(2) /at
/log
logfile.log /logtext "Start
process from command line..." |
^ TOP ^
|
· |
/CreateProject
/CreateProject
/proj filename /name
displname /srclang lcode
/lang lcode [/lang
lcode2]...
DESCRIPTION: |
Creates a new translation
project (the (.rwtproject)) and a (.fsmdb). The project will be initialized
for the specified source and target language (or
target languages). |
PARAMETERS: |
1.
filename
Project file; the full
path for the new
(.rwtproject).
2.
shortname
Short name of the translation
project. The name will be used (displayed) in
RC-WinTrans.
3.
langcode
Source language; the language
code for the source language.
4. langcode
[/lang
langcode2]...
Target language; the language
code of the target language. At least
one target language should be specified; others
can be specified optionally. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/CreateProject
/proj
"c:\dir\mytrans.rwtproject"
/name
"My Project1"
/srclang
en-GB /lang
it-CH /lang
fr-FR /lang
de-DE |
^
TOP ^
|
· |
/ExportProject
/ExportProject
/proj filename [/srclang
lcode] /lang lcode [/lang lcode2]...
/extproj filename [/name displayname]
DESCRIPTION: |
Exports a as database-type
project (.fsmdb file). One or more target
languages can be exported from the source
project. |
PARAMETERS: |
1.
filename
File name of the source
project from which data is to be exported.
File extension: .rwtproject or .fsmdb .
2.
filename
File name of the target
project (project to which data is being exported).
File extension: .rwtproject or .fsmdb .
3.
langcode
(OPTIONAL)
The source language. This
parameter is optional. Do not use
this parameter when the source language is the
project's original language. To use an existing
target language as the source language, use the
"/srclang"
parameter and the language
code of the target language.
4. langcode
Target language; the language
code of the target language.
5.
shortname (OPTIONAL)
A
short name (display name) for the project
used in RC-WinTrans.
This parameter is optional. When this
parameter is not given the exported project will
have the same name as the source project. |
RETURN VALUE: |
"1" when successful. |
EXAMPLES: |
(1) /ExportProject
/proj "main.fsmdb"
/extproj
"Proj2.fsmdb" /lang it-IT
(2) /ep /proj "main.rwtproject"
/extproj
"Proj2.rwtproject" /srlang
en-US /lang it-IT |
^
TOP ^
|
· |
/ExportTMX
/ExportTMX
/proj filename /lang
lcode [/srcfile filename] /extfile tmxfile
[-option]...
DESCRIPTION: |
Exports text (source and
target) and an ID/name to
a TMX file. |
PARAMETERS: |
1.
filename
File name of the project
from which data is to be exported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language.
3.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
export data associated with this file only.
4.
tmxfilename
Target file; the file
name of the Excel workbook file.
File extension: .xls or .xlsx.
5. Export options (OPTIONAL):
and .
NOTE:
Use the
to disable the export of item IDs. IDs can
be used to import translations from the exported
file. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ExportTMX
/proj "main.fsmdb"
/extfile
"resxfile1.tmx" /lang
it-IT -nontra -changed |
^
TOP ^
|
· |
/ExportExcel
/ExportExcel /proj filename /lang
lcode /extfile excelfile [/srcfile filename] [-option]...
DESCRIPTION: |
Exports text (source and
target) and additional data from
a translation
project to a Microsoft Excel workbook file
(.xls, .xlsx). The data from multiple target
languages can be exported. |
PARAMETERS: |
1.
filename
File name of the project
from which data is to be exported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language.
[/lang
langcode2]...
Additional target languages
can be exported optionally.
3.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
export data associated only with this file.
4.
excelfilename
Target file; the file
name of the Excel workbook file.
File extension: .xls or .xlsx.
5. Export options (OPTIONAL):
and .
NOTE:
The ID (or name) of an item is exported
to a separate column ("Resname"). The
ID of the main resource is exported to a "Main
Resname" column while the file name is exported
to another column, "Source File Name".
This ensures that translations can be imported
from the file as well. Use the
to disable the export of IDs and the file
name. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ExportExcel
/proj "main.fsmdb"
/extfile
"exported.xlsx" /lang it-IT
-nontra -changed |
^
TOP ^
|
· |
/ImportExcel
/ImportExcel /proj filename /lang
lcode [/srcfile filename] /extfile excelfile
[-option]...
DESCRIPTION: |
Imports translation text
from a Microsoft Excel workbook file (.xls, .xlsx)
into a translation
project. Data will be imported for one target
language. |
PARAMETERS: |
1.
filename
File name of the project
into which data is to be imported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language in the translation
project and in the Excel file.
3.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
import data associated only with this file.
4.
excelfilename
Target file; the file
name of the Excel workbook file.
File extension: .xls or .xlsx.
5. Import options (OPTIONAL):
[] and .
NOTE:
The ID (or name) of an item is exported
to a separate column ("Resname"). The
ID of the main resource is exported to a "Main
Resname" column while the file name is exported
to another column, "Source File Name".
This ensures that translations can be imported
from the file as well. Use the
to disable the export of IDs and the file
name. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ImportExcel
/proj "main.fsmdb"
/extfile
"ApplStrings.xlsx" /lang it-IT
-replace |
^
TOP ^
|
· |
/ExportXLIFF
/ExportXLIFF /proj filename /lang
lcode /extfile xliffile
[/srcfile filename] [-option]...
DESCRIPTION: |
Exports text data and additional
item information to an XLIFF
2.0 file. |
PARAMETERS: |
1.
filename
File name of the project
into which translations are to be imported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language.
3.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
export data associated only with this file.
4.
xliff-filename
Target file; the file
name of the XLIFF file.
File extension: .xliff, .xlf or .xliffex.
5. Export options (OPTIONAL):
[]
and [].
NOTE:
Use the "-flat"
option if you want the XML data to NOT be hierarchically
structured with an item's parent groups. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ExportXLIFF
/proj "main.fsmdb"
/extfile
"resxfile1.xliff" /lang it-IT
-tra -note -task |
^
TOP ^
|
· |
/ImportProject
/ImportProject /proj filename /lang
lcode /extproj fromfile /extlang lcode
[/srcfile filename] {report filename] [-option]...
DESCRIPTION: |
Imports data from a translation
project for a single target language. |
PARAMETERS: |
1.
filename
File name of the project
into which the data is to be imported.
File extension: .rwtproject or .fsmdb .
2.
filename
File name of the project
from which data is to be imported.
File extension: .rwtproject or .fsmdb .
3.
langcode
The language
code of the language for which data is to
be imported, e.g., "en-US" for English
(US) or "ja-JP" for Japanese (Japan).
4.
langcode
Target language; the language
code of the target language for which data
is to be imported.
5.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
import data associated only with this file.
6.
filename
(OPTIONAL)
Generates an HTML report
file (.html, .htm) summarizing imported data.
7. Import options (OPTIONAL):
[]
and [].
NOTE:
When
none of the optional data import options are specified
then "-text" and "-size" will
be used by default to import text and size/position
data. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ImportProject
/proj "main.rwtproject"
/extproj "Proj2.fsmdb"
/lang it /extlang it-IT
-text
-recheck
-note -replace |
^
TOP ^
|
· |
/ImportTMX
/ImportTMX /proj filename /lang
lcode /extfile tmxfile [/srcfile filename] [-option]...
DESCRIPTION: |
Imports translations from
a TMX file for a certain target language
and optionally for a single source file in the
project. |
PARAMETERS: |
1.
filename
File name of the project
into which translations are to be imported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language.
3.
filename
File name of the TMX file
from which to import.
File extension: (usually) .tmx.
4.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
import data associated only with this file.
5. Import options (OPTIONAL):
[] and
[]. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ImportTMX
/proj
"main.rwtproject" /extfile
"apptext.tmx" /lang
ja-JA -replace |
^
TOP ^
|
· |
/ImportXLIFF
/ImportXLIFF /proj filename /lang
lcode /extfile xliffile [/srcfile filename] [-option]...
DESCRIPTION: |
Imports translations and/or
additional informaion from an XLIFF
2.0 or a exchange file.
Data is imported for a certain target language
and for a single source file in the project.
Data is imported for all the in the project when the
parameter
is not used
NOTE: With QuickShip exchange
files (.xliffex)
can be imported such as
(source and target), RC-WinTrans and . |
PARAMETERS: |
1.
filename
File name of the project
into which translations are to be imported.
File extension: .rwtproject or .fsmdb .
2.
langcode
Target language; the language
code of the target language.
3.
filename
File name of the XLIFF
file or file from which
to import.
File extension: .xliff, .xlf or .xliffex.
4.
filename
(OPTIONAL)
A source file in the translation
project. Use this parameter to
import data associated only with this file.
5. Import options (OPTIONAL):
[]
and []. |
RETURN VALUE: |
"1" when successful. |
EXAMPLE: |
/ImportXLIFF
/proj
"main.rwtproject" /extfile
"apptext.xliffex" /lang ja-JA
-text .task -recheck |
^
TOP ^
|
· |
/IsTranslated
/IsTranslated /proj filename /lang langcode [/srcfile filename]
or /tr ...
DESCRIPTION: |
Verifies whether a given
contained in a
translation
project is (100%) translated for the specified
language. A file is considered to be translated
when a translation (target text) exists for all
text items and the translation
status of all items is set to either "translated"
or "final." To verify all the
source files in the project, DO NOT use the "/srcfile"
parameter. |
PARAMETERS: |
1.
filename
Project file name; the
full path to the (.rwtproject) or the (.fsmdb).
2.
langcode
Target language; the language
code for the target language being used.
3.
filename
(OPTIONAL)
A source file in the translation
project. DO NOT use this parameter
if all source files should be verified. |
RETURN VALUES: |
"1" = yes/true.
"0" = no/false.
"-1" = error. |
EXAMPLES: |
(1)
/IsTranslated
/proj
"c:\dir\mytrans.rwtproject"
/lang ja-JP
(2) /h
/proj
mytrans.fsmdb /lang
fr-FR |
^ TOP ^
|
·
|
/IsTargetUpToDate
/IsTargetUpToDate
/proj filename /lang langcode [/srcfile filename]
or /td ...
DESCRIPTION: |
Checks whether a given target
file or any of the project's
target files is . This
check is performed for files of a specified target
language. |
PARAMETERS: |
1.
filename
Project file name; the
full path to the (.rwtproject) or the (.fsmdb).
2.
langcode
Target language; the language
code for the target language being used.
3.
[
filename
] (OPTIONAL)
A source file in the translation
project. Use this parameter if
a certain target file should be checked.
4.
Options: none. |
RETURN VALUES: |
"1" = target file
is up to date (not ).
"0" =
target file is or does
not exist.
"-1" =
error. |
EXAMPLES: |
(1)
/IsTargetUpToDate
/proj
"mytrans.rwtproject" /srcfile
"resfile.rc" /lang
fr-FR-
(2) /td /proj "mytrans.rwtproject"
/lang
fr-FR |
^ TOP ^ |
· |
/IsUpToDate
/IsUpToDate
/proj filename /lang langcode [/srcfile filename]
or /d ...
DESCRIPTION: |
Checks whether a given or any of the
project's
source files has/have
changed. This check is performed for the
data with the specified target language. |
PARAMETERS: |
1.
filename
Project file name; the
full path to the (.rwtproject) or the (.fsmdb).
2.
langcode
Target language; the language
code for the target language being used.
3.
filename
(OPTIONAL)
A source file in the translation
project. DO NOT use this parameter
if all source files should be checked. |
RETURN VALUES: |
"1" = successful.
"0" = unsuccessful. "-1"
= error. |
EXAMPLES: |
(1)
/IsUpToDate
/proj
"mytrans.rwtproject" /srcfile
"Application.exe" /lang fr-FR-
(2) /d /proj "mytrans.rwtproject"
/lang
fr-FR |
^ TOP ^
|
· |
/ListFile
/ListFile /proj filename /lang
lcode [/srcfile filename][-option]...
DESCRIPTION: |
Writes a list of files and
file information for one or all of a project's
source and/or
target files to the standard output and/or
to a specified logging file. The files to
be listed can be specified with command options
valid for this command (see "Options"
below). |
PARAMETERS: |
1.
filename
File name of the project
into which data is to be imported.
File extension: .rwtproject or .fsmdb .
2.
[
langcode
] (OPTIONAL)
Target language; the language
code of the target language in the translation
project. The language must be specified
for listing the target file(s).
3.
[
filename
] (OPTIONAL)
A source file in the translation
project. Use this parameter to
specify a certain source file and/or
target file to be listed.
4. Options (OPTIONAL):
[-src] [-tgt] [-info] [-rel]
[-changed] [-outdate]
NOTE:
Using no option causes all (and only) source
files to be listed by default. |
RETURN VALUE: |
"1" when at least
one file is listed. Otherwise "0". |
EXAMPLES: |
(1)
/ListFile
/proj "main.fsmdb"
/lang
it-IT -tgt -info -outdated
(2) /ListFile
/proj "main.fsmdb"
/lang
it-IT -src -tgt -info -changed -outdated |
^
TOP ^ |
· |
/Update
/Update /proj filename /lang langcode [/srcfile filename] []
or /u ...
DESCRIPTION: |
Updates the translation
data of a single or of all the
source files for a given target language. The
update will be skipped if the soure file is unchanged.
To force an update for an unchanged source
file(s) use the option "". |
PARAMETERS: |
1.
filename
Project file name; the
full path to the (.rwtproject) or the (.fsmdb).
2.
langcode
Target language; the language
code for the target language being used.
3.
[
filename
] (OPTIONAL)
A source file in the translation
project. Use this parameter to
update the translation data of the specified source
files.
4. Options (OPTIONAL):
[
] |
RETURN VALUES: |
"1" = update successful
(for all files or for the file specified).
"0" = unsuccessful.
The data for at least one file could not
be updated.
"-1" =
error. |
EXAMPLES: |
(1)
/Update
/proj
"mytrans.rwtproject" /srcfile
"Application.exe" /lang fr-FR
(2) /u /proj "mytrans.rwtproject"
/lang
fr-FR |
^ TOP ^
|
· |
/WriteTargetFile
/WriteTargetFile
/proj filename /lang
langcode [/srcfile filename]
[/extfile filename] []...
or
/wt
...
DESCRIPTION: |
Writes all or one single
(translated) in a specified
language. The target file name rule and
the encoding designated in the project for a target
file will be used. By default, a target
file is written when it is -
otherwise it is skipped. To force all target
files to be written anew use the option "". |
PARAMETERS: |
1.
filename
Project file; the full
path to the (.rwtproject) or the (.fsmdb).
2. langcode
Target language; the language
code for the target language being used.
3.
[
filename
] (OPTIONAL)
A source file in the translation
project. DO NOT use this parameter
if all target files (for all source files) should
be written.
4. [
filename
] (OPTIONAL)
Name of the translated
. This parameter
can be used together with a given ("").. The
target file name as specified in the project is
used in the absence of this parameter.
5. Options (OPTIONAL):
[ ] |
RETURN VALUES: |
"1" = successful.
All the target files or the specified target
file were/was
written successfully.
"0" =
unsuccessful. At least one target file could
not be written.
"-1" = error. |
EXAMPLES: |
(1) /WriteTargetFile
/proj
"mytrans.rwtproject" /srcfile
"files\app.rc"
/lang
it-IT
/extfile
"files\it\appIT.rc
(2) /WriteTargetFile
/proj
"mytrans.rwtproject" /lang fr-FR /srcfile
"app.exe"
(3) /wt /proj "mytrans.rwtproject"
/lang
ja-JA -all |
^
TOP ^
|
· |
/log
/log
LogFile [/logtext text]
DESCRIPTION: |
Writes intermediate output
to the log file and/or
writes the text to the log file specified with
"/logtext". |
PARAMETERS: |
1.
filename
Logging file name (.log,
.txt). The file will be created when none
exists.
2. text
Text to be written to
the log file. |
^
TOP ^ |