Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 5.95 KB

File metadata and controls

56 lines (45 loc) · 5.95 KB

ProjectCreateParameters

Properties

Name Type Description Notes
name String Name of the project
mainFormat String Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see Format Guide or our Formats API Endpoint. [optional]
media String (Optional) Main technology stack used in the project. It affects for example the suggested placeholder style. Predefined values include: `Ruby`, `JavaScript`, `AngularJS`, `React`, `iOS`, `Android`, `Python`, `PHP`, `Java`, `Go`, `Windows Phone`, `Rails`, `Node.js`, `.NET`, `Django`, `Symfony`, `Yii Framework`, `Zend Framework`, `Apple App Store Description`, `Google Play Description`, but it can also take any other value. [optional]
sharesTranslationMemory Boolean Indicates whether the project should share the account's translation memory [optional]
projectImage File Image to identify the project [optional]
removeProjectImage Boolean Indicates whether the project image should be deleted. [optional]
accountId String Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. [optional]
pointOfContact String (Optional) User ID of the point of contact for the project. [optional]
sourceProjectId String When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params. [optional]
workflow String (Optional) Review Workflow. "simple" / "review". Read more [optional]
machineTranslationEnabled Boolean (Optional) Enable machine translation support in the project. Required for Pre-Translation [optional]
enableBranching Boolean (Optional) Enable branching in the project [optional]
protectMasterBranch Boolean (Optional) Protect the master branch in project where branching is enabled [optional]
enableAllDataTypeTranslationKeysForTranslators Boolean (Optional) Otherwise, translators are not allowed to edit translations other than strings [optional]
enableIcuMessageFormat Boolean (Optional) We can validate and highlight your ICU messages. Read more [optional]
zeroPluralFormEnabled Boolean (Optional) Displays the input fields for the 'ZERO' plural form for every key as well although only some languages require the 'ZERO' explicitly. [optional]
autotranslateEnabled Boolean (Optional) Autopilot, requires machine_translation_enabled. Read more [optional]
autotranslateCheckNewTranslationKeys Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateCheckNewUploads Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateCheckNewLocales Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateMarkAsUnverified Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateUseMachineTranslation Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateUseTranslationMemory Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autotranslateOverwriteUnverifiedTranslations Boolean (Optional) Requires autotranslate_enabled to be true [optional]
autocompleteJobEnabled Boolean (Optional) Enable autocomplete-job behavior so that newly created keys and locales are automatically added to in-progress jobs. [optional]
jobLockingEnabled Boolean (Optional) When enabled, translations are locked once a job moves into review. [optional]
smartSuggestEnabled Boolean (Optional) Enable Smart Suggest for the project. Defaults to `true` when omitted. [optional]
smartSuggestUseGlossary Boolean (Optional) Allow Smart Suggest to source suggestions from the project glossary. Defaults to `true` when omitted. [optional]
smartSuggestUseMachineTranslation Boolean (Optional) Allow Smart Suggest to source suggestions from machine translation. Defaults to `true` when omitted. [optional]
translationKeysSortCollation String (Optional) Collation used when sorting translation keys alphabetically. Defaults to `unicode_ci` when omitted. [optional]
defaultEncoding DefaultEncodingEnum (Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the `file_encoding` parameter for Uploads. [optional]
cldrVersion String (Optional) CLDR plural-rule version used by the project. [optional]
placeholderStyles List<String> (Optional) List of placeholder styles enabled for the project. [optional]

Enum: DefaultEncodingEnum

Name Value
UTF_8 "UTF-8"
UTF_16 "UTF-16"
UTF_16BE "UTF-16BE"
UTF_16LE "UTF-16LE"
ISO_8859_1 "ISO-8859-1"