Add Translation Languages
Add translation languages to specified game data.
Command
# local game data (windows)
dnx dotnet-charon -- DATA I18N ADDLANGUAGE \
--dataBase "c:\my app\gamedata.json" \
--languages "es-ES" "en-GB"
# remote game data
dnx dotnet-charon -- DATA I18N ADDLANGUAGE \
--dataBase "https://charon.live/view/data/My_Game/develop/" \
--languages "es-ES" "en-GB" \
--credentials "<API-Key>"
Parameters
- --dataBase
Absolute or relative path to game data. Use quotation marks if your path contains spaces.
# local file --dataBase "c:\my app\gamedata.json" # remote server --dataBase "https://charon.live/view/data/My_Game/develop/"
- --languages
The list of languages to add. Values are language tags (BCP 47) separated by space..
- --credentials
The API key used to access remote server in case of –dataBase being URL.
- --output
Path to the file receiving the updated language list. If the file exists, it will be overwritten. The directory must already exist. Alternatively, you can output to Standard Error, Standard Output, /dev/null, or a URL.
# standard output (default) --output out --output con # standard error --output err # null device --output null # relative path (universal) --output "./languages.json"
- --outputFormat
Format of the returned language list.
# JSON (default) --outputFormat json # space separated list --outputFormat list # new line (OS specific) separated list --outputFormat table
- --outputFormattingOptions
Additional options for specified format.
This command supports universal parameters.