elitedivision/amos-translation
AMOS Translation
Requires
- php:>=5.5.0
- elitedivision/amos-core:>=1.9.50
- elitedivision/amos-dashboard:>=1.8.15
- elitedivision/amos-workflow:*
- lajax/yii2-translate-manager:1.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-test/1.6.2/1
- dev-test/1.6.1/1
- dev-test/1.6.0/1
- dev-test/1.5.0/1
- dev-test/1.4.0/1
- dev-test/1.3.0/1
- dev-test/1.1.0/3
- dev-la_francesca/1.0.36
- dev-test/1.1.0/2
- dev-la_francesca/eventi
- dev-test/1.1.0/1
- dev-test/1.0.35/1
- dev-gianluca/1.0.35/1
- dev-test/1.0.35/2
- dev-test/1.0.34/2
- dev-test/1.0.34/1
- dev-test/1.0.33/1
- dev-test/1.0.32
- dev-mmg/1.0.32
- dev-la_francesca/1.0.33
- dev-open20/1.0.31/1
- dev-scarface
- dev-test/bullet-count
- dev-test/1.0.31/2
- dev-test/1.0.31/1
- dev-POI
- dev-POI_TEST/1.0.30/5
- dev-test/1.0.30/5
- dev-rete_comuni
- dev-test/1.0.30/4
- dev-test/1.0.30/3
- dev-test/1.0.30/2
- dev-test/1.0.30/1
- dev-la_francesca/1.0.29/1
- dev-fabiot
- dev-test/1.0.29/1
- dev-DEPLOY_POI_20180921
- dev-test/1.0.27/1
- dev-la_francesca/1.0.27/1
- dev-test/1.0.25/2
- dev-giuseppe_1.0.24_1
- dev-test/1.0.25/1
- dev-test/1.0.21/2
- dev-giuseppe_1.0.14
- dev-test/1.0.21/1
- dev-giuseppe_1.0.15
- dev-giuseppe_1.0.13
- dev-giuseppe_1.0.12
- dev-giuseppe_1.0.11
- dev-giuseppe_1.0.10
- dev-la_francesca_1.0.9
- dev-giuseppe_1.0.8
- dev-giuseppe_1.0.7
- dev-giuseppe_1.0.5
README
Translation management.
Button clean translatemanager cache
Insert in config/component-amos
'view' => [
'class' => 'elitedivision\amos\core\components\AmosView',
'theme' => [
'pathMap' => [
'@vendor/lajax/yii2-translate-manager/views/language/' => '@vendor/elitedivision/amos-translation/src/views/translatemanager/'
],
],
],
Configurable properties
*defaultTranslationLanguage - string
Default language to translate if the record translate is not present
'translation' => [
'class' => 'elitedivision\amos\translation\AmosTranslation',
'defaultTranslationLanguage' => 'en-GB',
],
*secureCookie - boolean
Added configuration to enable to send cookie without security
*enableCookieFor2LevelDomain - boolean
Added configuration to set cookie for the second level domain
*byPassPermissionInlineTranslation - boolean If the value is true it disable all the permission on the record translation
*enableLabelTranslationField - boolean, default = false If set to true it enables the display of the translatable fields in the forms
*templateTranslationField - string, default = '{translation}' Template of translation field in the form, near the label
*templateTranslationAltField - string, default = '{altTranslation}' Template of translation alt field in the form, near the $templateTranslationField
*translationLabelField - string, default = 'strtoupper(substr(\Yii::$app->language, 0, 2));' This string will be parsed by the "eval()" function instead of $tempalteTransaltionField, by default {translation}
*translationLabelAltField - string, default = '\Yii::t("amostranslation", "Testo traducibile, la visualizzazione attuale è in");' This string will be parsed by the "eval()" function instead of $templateTranslationAltField, by default {altTranslation}
*labelTranslationField - string, default = ' ( - {translation})' This string is the html code that will be used in the labels to represent a translatable field