Download the PHP
package pits/deepltranslate without Composer
On this page you can find all versions of the php package
pits/deepltranslate. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor pits Package deepltranslate Short Description This extension provides option to translate content element, and tca record texts to Deepl and Google supported languages using Deepl and Googletranslate Api services. License
GPL-2.0+
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
This extension provides option to translate content elements and tca record fields to desired language(supported by Deepl). As a fallback, Google translate option is also provided as they provide support for many languages that deepl isn’t providing.
For both Deepl translate and Google translate, there are two modes-normal and autodetect, where the later autodetects source language and translates it to the desired language.
Installation
You can install the extension using:
Extension manager or
composer
Once installed ,there appears a Deepl back end module with a settings tab.
Requirements
TYPO3 8.5 to 8.7.99 (V1.0.0 - 1.0.1)
TYPO3 9.5.1 to 9.5.99 (V1.0.2 onwards)
Extension Configuartion
Once you installed the extension, you have to set the Deepl API Key under ADMIN TOOL->Settings->Extension Configuration section
Translating content elements
Once the extension is installed and Api key provided we are good to go for translating content elements.On translating content element,There appears additional four options apart from normal tranlate and copy.
Deepl Translate(auto detect).
Deepl Translate.
Google Translate(auto detect).
Google Translate.
Translating TCA records
Deepltranslate supports translation of specific fields of TCA records.It understands fields which need to be translated, only if their is set to .
For example if you need translation of fields of tx_news (teaser and bodytext),You need to override those fields like follows:
Add it to TCA/Overrides:
Example :
Deepl Module Settings
The settings module helps to assign the sytem languages to either deepl supported languages or to Google supported languages.
For example you can assign German under Austrian German sys language if you wish. For assigning a language to a sys language you must enter it’s isocode(ISO 639-1).
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package pits/deepltranslate contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.