File tree Expand file tree Collapse file tree 8 files changed +69
-1
lines changed
Images/Editor/AutoTranslatePrefix Expand file tree Collapse file tree 8 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function renderDeeplPreviewFlag(array $params): void
3131
3232 $ messagePreviewLabel = $ controller ->config ['config ' ]['deepl_message_preview ' ] ?? '' ;
3333 if ($ messagePreviewLabel === '' ) {
34- $ messagePreviewLabel = $ controller -> sL ( ' LLL:EXT:wv_deepltranslate/Resources/Private/Language/locallang.xlf:preview.flag ' ) ;
34+ $ messagePreviewLabel = ' Translated with DeepL ' ;
3535 }
3636
3737 $ styles = [];
Original file line number Diff line number Diff line change 1+ .. include :: /Includes.rst.txt
2+
3+ .. _administration-autotranslateprefix :
4+
5+ Auto-translate-prefix
6+ =====================
7+
8+ To enable tagging for Automatically Translated Pages and Content
9+ the page activation of translated pages was extended in order to implement a control
10+ possibility to implement.
11+
12+ This information is passed in the Page Context Fluid template and can be used to
13+ and can be used there to enable a page specific appearance.
14+
15+ .. figure :: /Images/Editor/AutoTranslatePrefix/page-translation-prefix.png
16+ :alt: Page Frontend
17+
18+
19+ ----
20+
21+
22+ To make this easy can also be used in the extension Partial.
23+
24+ .. code-block :: html
25+
26+ <f:if condition =" {page.tx_wvdeepltranslate_content_not_checked}" >
27+ <div style =" background : #006494 ; border : #0000cc 1px solid ; color : #fff ; padding : 10px ; text-align : center " >
28+ <f:translate key =" LLL:EXT:wv_deepltranslate/Resources/Private/Language/locallang.xlf:preview.flag" />
29+ <f:if condition =" {page.tx_wvdeepltranslate_translated_time} > 0" >
30+ <f:format .date format =" {dateFormat}" >{page.tx_wvdeepltranslate_translated_time}</f:format .date >
31+ </f:if >
32+ </div >
33+ </f:if >
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ Administration
1212
1313 Installation/Index
1414 Configuration/Index
15+ AutoTranslatePrefix/Index
Original file line number Diff line number Diff line change 1+ .. include :: /Includes.rst.txt
2+
3+ .. _editor-autotranslateprefix :
4+
5+ Auto-translate-prefix
6+ =====================
7+
8+ To enable tagging for Automatically Translated Page and Content
9+ the Page Turned On of translated pages was extended to implement a control
10+ possibility to implement.
11+
12+
13+ .. figure :: /Images/Editor/AutoTranslatePrefix/page-translation-properties.png
14+ :alt: Page Property DeepL Translate
15+
16+ With each translation process of content the fields are updated.
17+
18+ ----
19+
20+ The field information "Last translation date" and "DeepL Translated content has not been checked".
21+ are always transferred to the page object and can be queried in Fluid.
22+
23+ Thus, information and notes in Fluid template can be controlled if necessary.
24+ This must be added to the template by a TYPO3 administrator or developer beforehand.
25+
26+ .. figure :: /Images/Editor/AutoTranslatePrefix/page-translation-prefix.png
27+ :alt: Page Frontend prefix
28+
29+ When an editor previews DeepL translated hidden page,
30+ a DeepL badge is displayed in addition to the "Preview" badge in the upper right corner.
31+
32+ .. figure :: /Images/Editor/AutoTranslatePrefix/page-translation-preview.png
33+ :alt: Page frontend preview
Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ How editors work with *wv_deepltranslate* is described in the following chapters
1313
1414 Usage/Index
1515 Glossary/Index
16+ AutoTranslatePrefix/Index
You can’t perform that action at this time.
0 commit comments