Add Translation Languages ========================= Add translation languages to specified game data. - :ref:`CLI Installation ` - :doc:`Universal Parameters ` - :ref:`Commands Reference ` --------------- Command --------------- .. code-block:: bash # 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 "" --------------- Parameters --------------- --dataBase Absolute or relative path to game data. Use quotation marks if your path contains spaces. .. code-block:: bash # 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 :doc:`URL `. .. code-block:: bash # 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. .. code-block:: bash # 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 :doc:`universal parameters `. See also -------- - :doc:`Internationalization <../internationalization>` - :doc:`DATA I18N LANGUAGES ` - :doc:`DATA I18N EXPORT ` - :doc:`DATA I18N IMPORT ` - `BCP 47 language tags `_