dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
config-lng_en.fd.php-Dateireferenz

Variablen

 $messages = array()
 $lng_options = 'de=German (DE)&en=English (EN)&es=Espanol (ES)&fr=Francais (FR)&it=Italiano (IT)'
 $provider_options = 'copy=Copy text (default)&none=Leave empty&deepl=DeepL API&openai=OpenAI API&custom=Customs (translate.php)'
 $model_options = 'gpt-4o-mini=gpt-4o-mini (fast)&gpt-4o=gpt-4o (quality)&gpt-4.1-mini=gpt-4.1-mini'
 $field = array()
 $field ['name'] = 'default_lng'
 $field ['type'] = 'varchar'
 $field ['length'] = '8'
 $field ['default'] = 'de'
 $field ['label'] = 'Master language'
 $field ['rules'] = '*'
 $field ['tooltip'] = 'Control language of the CMS: structure, commission, auto-sync and master revision. Corresponds default_lng in the system-config (dbx).'
 $field ['errormsg'] = 'Please select a valid master language.'
 $field ['placeholder'] = 'de'
 $field ['options'] = $lng_options
 $field ['tpl'] = 'select-single-label'
 $fields [] = $field
 $field ['name'] = 'accessible_lng'
 $field ['type'] = 'varchar'
 $field ['length'] = '128'
 $field ['default'] = 'de'
 $field ['label'] = 'Available languages'
 $field ['rules'] = '*'
 $field ['tooltip'] = 'All languages for CMS tree, language badges and UI switching. The master language must be included. Stored as accessible_lng in dbx.'
 $field ['errormsg'] = 'Select at least one language.'
 $field ['placeholder'] = 'de, en, es'
 $field ['options'] = $lng_options
 $field ['tpl'] = 'select-multiple-label'
 $field ['name'] = 'home_cid'
 $field ['type'] = 'varchar'
 $field ['length'] = '16'
 $field ['default'] = '1'
 $field ['label'] = 'Home page (master)'
 $field ['rules'] = 'int'
 $field ['tooltip'] = 'Content ID of the homepage in the master language (dbxHome/cid). The target languages are lng_uid on the right page.'
 $field ['errormsg'] = 'Please provide a valid content ID.'
 $field ['placeholder'] = 'e.g. 1'
 $field ['options'] = ''
 $field ['tpl'] = 'text-label'
 $field ['name'] = 'lng_translate_provider'
 $field ['type'] = 'varchar'
 $field ['length'] = '32'
 $field ['default'] = 'copy'
 $field ['label'] = 'Translation provider'
 $field ['rules'] = '*'
 $field ['tooltip'] = 'copy = master text. none = target text empty. deepl/openai = API translation. custom = own translate.php in the module.'
 $field ['errormsg'] = 'Please choose a provider.'
 $field ['placeholder'] = 'copy'
 $field ['options'] = $provider_options
 $field ['tpl'] = 'select-single-label'
 $field ['name'] = 'lng_translate_api_key'
 $field ['type'] = 'varchar'
 $field ['length'] = '256'
 $field ['default'] = ''
 $field ['label'] = 'API key'
 $field ['rules'] = ''
 $field ['tooltip'] = 'Duty at deepl and openai. Leave blank at copy/none. In the case of: dbxContent-Config stored.'
 $field ['errormsg'] = ''
 $field ['placeholder'] = 'sk-... or DeepL-Auth-Key'
 $field ['options'] = ''
 $field ['tpl'] = 'password-label'
 $field ['name'] = 'lng_translate_api_url'
 $field ['type'] = 'varchar'
 $field ['length'] = '256'
 $field ['default'] = ''
 $field ['label'] = 'API URL (optional)'
 $field ['rules'] = ''
 $field ['tooltip'] = 'Empty = provider standard. Only set for own endpoint (e.g. DeepL Free API) or custom translate URL.'
 $field ['errormsg'] = ''
 $field ['placeholder'] = 'e.g. https://api.deepl.com/v2/translate'
 $field ['options'] = ''
 $field ['tpl'] = 'text-label'
 $field ['name'] = 'lng_translate_model'
 $field ['type'] = 'varchar'
 $field ['length'] = '64'
 $field ['default'] = 'gpt-4o-mini'
 $field ['label'] = 'OpenAI model'
 $field ['rules'] = ''
 $field ['tooltip'] = 'Only for providers openai. Model ID for chat completions (e.g. gpt-4o-mini for fast translations).'
 $field ['errormsg'] = ''
 $field ['placeholder'] = 'gpt-4o-mini'
 $field ['options'] = $model_options
 $field ['tpl'] = 'select-single-label'

Variablen-Dokumentation

◆ $field [1/78]

$field[ 'default'] = 'gpt-4o-mini'

◆ $field [2/78]

$field[ 'default'] = ''

◆ $field [3/78]

$field[ 'default'] = ''

◆ $field [4/78]

$field[ 'default'] = 'copy'

◆ $field [5/78]

$field[ 'default'] = '1'

◆ $field [6/78]

$field[ 'default'] = 'de'

◆ $field [7/78]

$field[ 'default'] = 'de'

◆ $field [8/78]

$field[ 'errormsg'] = ''

◆ $field [9/78]

$field[ 'errormsg'] = ''

◆ $field [10/78]

$field[ 'errormsg'] = ''

◆ $field [11/78]

$field[ 'errormsg'] = 'Please choose a provider.'

◆ $field [12/78]

$field[ 'errormsg'] = 'Please provide a valid content ID.'

◆ $field [13/78]

$field[ 'errormsg'] = 'Select at least one language.'

◆ $field [14/78]

$field[ 'errormsg'] = 'Please select a valid master language.'

◆ $field [15/78]

$field[ 'label'] = 'OpenAI model'

◆ $field [16/78]

$field[ 'label'] = 'API URL (optional)'

◆ $field [17/78]

$field[ 'label'] = 'API key'

◆ $field [18/78]

$field[ 'label'] = 'Translation provider'

◆ $field [19/78]

$field[ 'label'] = 'Home page (master)'

◆ $field [20/78]

$field[ 'label'] = 'Available languages'

◆ $field [21/78]

$field[ 'label'] = 'Master language'

◆ $field [22/78]

$field[ 'length'] = '64'

◆ $field [23/78]

$field[ 'length'] = '256'

◆ $field [24/78]

$field[ 'length'] = '256'

◆ $field [25/78]

$field[ 'length'] = '32'

◆ $field [26/78]

$field[ 'length'] = '16'

◆ $field [27/78]

$field[ 'length'] = '128'

◆ $field [28/78]

$field[ 'length'] = '8'

◆ $field [29/78]

$field[ 'name'] = 'lng_translate_model'

◆ $field [30/78]

$field[ 'name'] = 'lng_translate_api_url'

◆ $field [31/78]

$field[ 'name'] = 'lng_translate_api_key'

◆ $field [32/78]

$field[ 'name'] = 'lng_translate_provider'

◆ $field [33/78]

$field[ 'name'] = 'home_cid'

◆ $field [34/78]

$field[ 'name'] = 'accessible_lng'

◆ $field [35/78]

$field[ 'name'] = 'default_lng'

◆ $field [36/78]

$field[ 'options'] = $model_options

◆ $field [37/78]

$field[ 'options'] = ''

◆ $field [38/78]

$field[ 'options'] = ''

◆ $field [39/78]

$field[ 'options'] = $provider_options

◆ $field [40/78]

$field[ 'options'] = ''

◆ $field [41/78]

$field[ 'options'] = $lng_options

◆ $field [42/78]

$field[ 'options'] = $lng_options

◆ $field [43/78]

$field[ 'placeholder'] = 'gpt-4o-mini'

◆ $field [44/78]

$field[ 'placeholder'] = 'e.g. https://api.deepl.com/v2/translate'

◆ $field [45/78]

$field[ 'placeholder'] = 'sk-... or DeepL-Auth-Key'

◆ $field [46/78]

$field[ 'placeholder'] = 'copy'

◆ $field [47/78]

$field[ 'placeholder'] = 'e.g. 1'

◆ $field [48/78]

$field[ 'placeholder'] = 'de, en, es'

◆ $field [49/78]

$field[ 'placeholder'] = 'de'

◆ $field [50/78]

$field[ 'rules'] = ''

◆ $field [51/78]

$field[ 'rules'] = ''

◆ $field [52/78]

$field[ 'rules'] = ''

◆ $field [53/78]

$field[ 'rules'] = '*'

◆ $field [54/78]

$field[ 'rules'] = 'int'

◆ $field [55/78]

$field[ 'rules'] = '*'

◆ $field [56/78]

$field[ 'rules'] = '*'

◆ $field [57/78]

$field[ 'tooltip'] = 'Only for providers openai. Model ID for chat completions (e.g. gpt-4o-mini for fast translations).'

◆ $field [58/78]

$field[ 'tooltip'] = 'Empty = provider standard. Only set for own endpoint (e.g. DeepL Free API) or custom translate URL.'

◆ $field [59/78]

$field[ 'tooltip'] = 'Duty at deepl and openai. Leave blank at copy/none. In the case of: dbxContent-Config stored.'

◆ $field [60/78]

$field[ 'tooltip'] = 'copy = master text. none = target text empty. deepl/openai = API translation. custom = own translate.php in the module.'

◆ $field [61/78]

$field[ 'tooltip'] = 'Content ID of the homepage in the master language (dbxHome/cid). The target languages are lng_uid on the right page.'

◆ $field [62/78]

$field[ 'tooltip'] = 'All languages for CMS tree, language badges and UI switching. The master language must be included. Stored as accessible_lng in dbx.'

◆ $field [63/78]

$field[ 'tooltip'] = 'Control language of the CMS: structure, commission, auto-sync and master revision. Corresponds default_lng in the system-config (dbx).'

◆ $field [64/78]

$field[ 'tpl'] = 'select-single-label'

◆ $field [65/78]

$field[ 'tpl'] = 'text-label'

◆ $field [66/78]

$field[ 'tpl'] = 'password-label'

◆ $field [67/78]

$field[ 'tpl'] = 'select-single-label'

◆ $field [68/78]

$field[ 'tpl'] = 'text-label'

◆ $field [69/78]

$field[ 'tpl'] = 'select-multiple-label'

◆ $field [70/78]

$field[ 'tpl'] = 'select-single-label'

◆ $field [71/78]

$field[ 'type'] = 'varchar'

◆ $field [72/78]

$field[ 'type'] = 'varchar'

◆ $field [73/78]

$field[ 'type'] = 'varchar'

◆ $field [74/78]

$field[ 'type'] = 'varchar'

◆ $field [75/78]

$field[ 'type'] = 'varchar'

◆ $field [76/78]

$field[ 'type'] = 'varchar'

◆ $field [77/78]

$field[ 'type'] = 'varchar'

◆ $field [78/78]

$field = array()

◆ $fields

$fields[] = $field

◆ $lng_options

$lng_options = 'de=German (DE)&en=English (EN)&es=Espanol (ES)&fr=Francais (FR)&it=Italiano (IT)'

◆ $messages

$messages = array()

◆ $model_options

$model_options = 'gpt-4o-mini=gpt-4o-mini (fast)&gpt-4o=gpt-4o (quality)&gpt-4.1-mini=gpt-4.1-mini'

◆ $provider_options

$provider_options = 'copy=Copy text (default)&none=Leave empty&deepl=DeepL API&openai=OpenAI API&custom=Customs (translate.php)'