class Languageproject

Project class.

Properties

string $name Project name.
string $identifier Project identifier. Should be unique among other Crowdin projects.
string $source_language Source files language. Should be a two letters language code.
array $languages An array of language codes project should be translate to.
string $join_policy Project join policy. Acceptable values are: open, private
string $language_access_policy Defines how project members can access target languages. Acceptable values are: - "open" - any translator can access any language. (default) - "moderate" - translator should be granted with access to certain language.
boolean $hide_duplicates Defines whether duplicated strings should be displayed to translators or should be hidden and translated automatically.
boolean $export_translated_only Defines whether only translated strings will be exported to the final file. We do not recommend to set this option if you have text (*.html, *.txt, *.docx etc.) documents in your project since it may damage resulted files.
boolean $export_approved_only If set to 1 only approved translations will be exported in resulted ZIP file.
boolean $auto_translate_dialects Untranslated strings of dialect will be translated automatically in exported file, leveraging translations from main language.
boolean $public_downloads Defines whether "Download" button visible to everyone on Crowdin webpages.
boolean $use_global_tm Defines if translations would be leveraged from Crowdin Global Translation Memory.
$logo Project logo at Crowdin.
string $cname Custom domain name for Crowdin project.
string $description Project description.
boolean $in_context Defines whether the In-Context should be active in the project.
string $pseudo_language Specify the language code for the In-Context's pseudo-language that will store some operational data.
string $webhook_file_translated Open this URL when one of the project files is translated.
string $webhook_file_proofread Open this URL when one of the project files is proofread.
string $webhook_project_translated Open this URL when project translation is complete. URL will be opened with "project" - project identifier and "language" - language code.
string $webhook_project_proofread Open this URL when project proofreading is complete. URL will be opened with "project" - project identifier and "language" - language code.

Methods

array
toQuery()

Convert tye object to query string.

Details

at line 162
array toQuery()

Convert tye object to query string.

Return Value

array