Download the PHP package easytranslate/m2-connector without Composer

On this page you can find all versions of the php package easytranslate/m2-connector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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.
Please rate this library. Is it a good library?

Informations about the package m2-connector

EasyTranslate Connector For Magento 2

This Magento 2 extension integrates EasyTranslate into Magento 2.

Mind that you need to have an account with EasyTranslate on Language-as-a-Service. Please send an e-mail to [email protected] to learn more.

Description

This Magento 2 extension integrates EasyTranslate into Magento 2. It enables you to translate products, categories, CMS blocks and CMS pages via EasyTranslate.

Workflow

The following diagram gives a rough overview of the workflow:

Initial Configuration

Go to Stores > Configuration > Services > EasyTranslate Connector:

First, insert the API credentials you either get from the EasyTranslate support or from your EasyTranslate Account under Settings > API. Then, for each entity, you can decide which attributes should be translated via EasyTranslate. Save your configuration.

Make sure that the default Magento cronjob is configured and runs correctly. To check this, EthanYehuda_CronjobManager might come in handy.

Create Projects / Access Existing Projects

Go to System > EasyTranslate Projects. Click the "Add Project" button in the upper right corner. Add the basic project information and click "Save and Continue Edit". In this step you can also decide, if the translations shall be automatically imported or only on manual scheduling.

Alternatively, you can also create an EasyTranslate project directly from the product grid via a mass action:

And as another option, you can also create an EasyTranslate project directly from the product edit page:

Add Content To Project

Open the project from System > EasyTranslate Projects. Click on the entity type you want to add. Then, change the filter to "Any", search for the entities you want to add and select the checkbox. Then, save the project.

Send Project To EasyTranslate

As soon as you are finished with adding content to your project, you can send it to EasyTranslate using the "Send To EasyTranslate" button in the project view.

Accept / Decline Price [optional]

If the estimated price for the project is above your configured threshold at EasyTranslate, you have the possibility to accept or decline the price inside of Magento. As soon as the price is available and above your personal threshold, you will see respective buttons in the project view:

Import of Translated Content

If the estimated price for the project is below your threshold, or you accepted the price, the content will be translated. As soon as the translations are available, EasyTranslate will notify your shop about it. When your default Magento cronjob is configured correctly, and you activated automatic import, translations will then be automatically imported after a few hours.

Schedule Import [optional]

If automatic import is disabled, the button "Schedule for import" appears in the project view. A click on this button activates the import, so the translations will be included within the next hours.

Compatibility

This extension is compatible with the latest supported versions of Magento 2.3 and Magento 2.4.

It may also be compatible with older versions, but we strongly recommend to only use up-to-date versions of Magento 2.

Installation Instructions

The installation procedure highly depends on your setup. In any case, you should use a version control system like git and test the installation on a development system.

Composer Installation (recommended)

  1. composer require easytranslate/m2-connector
  2. bin/magento module:enable EasyTranslate_Connector
  3. bin/magento setup:upgrade
  4. bin/magento setup:di:compile
  5. bin/magento cache:flush

Manual Installation (not recommended)

Please mind that we highly recommend installing the module via Composer as described above. If you really want to install it manually, you have to make sure that all dependencies are also installed manually. For instance, you have to install the PHP Rest API Client manually via Composer.

  1. Unzip the downloaded files.
  2. Create the directory app/code/EasyTranslate/Connector/: mkdir -p app/code/EasyTranslate/Connector/
  3. Copy the contents of the src directory from the unzipped files to the newly created directory app/code/EasyTranslate/Connector/.
  4. bin/magento module:enable EasyTranslate_Connector
  5. bin/magento setup:upgrade
  6. bin/magento setup:di:compile
  7. bin/magento cache:flush

Uninstallation

The uninstallation procedure depends on your setup:

Uninstallation After Composer Installation

  1. bin/magento module:uninstall EasyTranslate_Connector
  2. bin/magento setup:di:compile
  3. bin/magento cache:flush

Uninstallation After Manual Installation

  1. bin/magento module:disable EasyTranslate_Connector
  2. bin/magento setup:di:compile
  3. bin/magento cache:flush
  4. rm -r app/code/EasyTranslate/Connector/

Support

If you have any issues with this extension, feel free to open an issue on GitHub.

Licence

Open Software License 3.0

Copyright

© 2021 - present EasyTranslate A/S


All versions of m2-connector with dependencies

PHP Build Version
Package Version
Requires easytranslate/rest-api-client Version ~0.1.5
magento/framework Version ~102.0||~103.0
magento/module-backend Version ~101.0||~102.0
magento/module-catalog Version ~103.0||~104.0
magento/module-store Version ~101.0
magento/module-ui Version ~101.1
php Version ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0
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 easytranslate/m2-connector contains the following files

Loading the files please wait ....