2017 © Pedro PelĂĄez
 

symfony-bundle akeneo-extension

Textmaster extension for Akeneo product data

image

textmaster/akeneo-extension

Textmaster extension for Akeneo product data

  • Friday, May 25, 2018
  • by jmleroux
  • Repository
  • 13 Watchers
  • 1 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 21 Versions
  • 3 % Grown

The README.md

Textmaster extension for Akeneo PIM

Build Status, (*1)

Also available on the Akeneo marketplace: https://marketplace.akeneo.com/, (*2)

Description

The Textmaster Akeneo extension allows you to easily translate your Akeneo product contents to a large quantity of languages with a simple mass edit process., (*3)

NOTES

  • Please know that this module is not compatible with other TextMaster modules. If you want to use another TextMaster module, make sure to use another TextMaster account.
  • The TextMaster module with Akeneo is not compatible with the feature ‘Organization’ we recently released. It is, however, in our roadmap. We invite you to consult it or contact us if you have any request.

Requirements

======= , (*4)

Akeneo Textmaster extension Akeneo PIM Community Edition
v3.0.* v3.0.* + API template + Dashboard + Product model
v2.3.* v2.3.* + API template
v2.2.* v2.2.* + API template
v2.1.* v2.1.* + API template
v2.0.* v2.0.* + API template
v1.3.* v1.7.* + API template
v1.2.* v1.7.*
v1.1.* v1.6.*
v1.0.* v1.5.*

You also need a Textmaster account to have some API credentials and access to the Textmaster's customer interface., (*5)

Create a Textmaster account

Creating your account on https://textmaster.com is totally free. You can access the register form by clicking on the "Login" button or by following this link., (*6)

Create one or more API templates

The 2.3 version of this extension uses Textmaster API templates. You must have at least one API template before using this extension., (*7)

How it works

mass edit screen, (*8)

The translation request is done by a very simple mass edit process:, (*9)

  • Select your products in the grid and choose the "translate with Textmaster" mass edit operation.
  • Choose the API template used for this translation project. API templates are explained in this documentation
  • Send your products to Textmaster in just one click
  • You can then connect to your Textmaster client interface to choose more options, like translation memory, preferred Textmasters, etc. Your products will be translated in the PIM as soon as they are in Textmaster

You can check translation progress with the dashboard :, (*10)

dashboard screen, (*11)

Installation

First step is to require the sources:, (*12)

composer require textmaster/akeneo-extension 3.0

Register your bundle in the AppKernel::registerProjectBundles:, (*13)

new \Pim\Bundle\TextmasterBundle\PimTextmasterBundle(),

Then we need to add a new mass edit batch job:, (*14)

bin/console akeneo:batch:create-job 'Textmaster Connector' 'textmaster_start_projects' "mass_edit" 'textmaster_start_projects'

Add the new routes used by the extension to the global router. Add the following lines at the end of app/config/routing.yml:, (*15)

textmaster:
    resource: "@PimTextmasterBundle/Resources/config/routing.yml"

Optional : Add those parameters into app/config/parameters.yml to use textmaster sandbox :, (*16)

parameters:
    ...
    textmaster.base_uri.api: 'https://api.textmasterstaging.com/v1'
    textmaster.base_uri.app: 'https://app.textmasterstaging.com'

Update the database schema and regenerate your cache and assets:, (*17)

rm -rf var/cache/* web/bundles/* web/js/* web/css/*
bin/console doctrine:schema:update --force --env=prod
bin/console p:i:a --env=prod
bin/console a:i --env=prod
node yarn run webpack
find ./ -type d -exec chmod 755 {} \;
find ./ -type f -exec chmod 644 {} \;

Set a cron to retrieve the translated contents from Textmaster:, (*18)

0 * * * * /home/akeno/pim/bin/console pim:textmaster:retrieve-translations >> /tmp/textmaster.log

This command checks for translated content once every hour. We do not recommend to check more often than every hour to not overload the Textmaster servers., (*19)

Finally, you must set a cron to synchronize translation progress from Textmaster:, (*20)

0 0 0/4 1/1 * ? * /home/akeno/pim/bin/console pim:textmaster:update-dashboard >> /tmp/textmaster.log

This command retrieve translation progress from textmaster to supply datagrid dashboard once every 4 hours., (*21)

Parameters

You can configure your TextMaster plugin in the dedicated screen: System >> Configuration >> TextMaster, (*22)

configuration screen, (*23)

In this screen you will be able to set:, (*24)

  • you API credentials : API key and API secret
  • the attributes you want to translate

Screenshots

Select products, (*25)

Select Textmaster action, (*26)

Configure the project, (*27)

Execution details, (*28)

Video demo

A live demonstration for the 1.2 version of this extension is available on this short video: https://www.youtube.com/watch?v=9WkyQFwoWWo, (*29)

The Versions

25/05 2018

dev-master

9999999-dev

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

25/05 2018

dev-jml-documentation

dev-jml-documentation

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

25/05 2018

dev-jmleroux-patch-1

dev-jmleroux-patch-1

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

25/01 2018

v2.1.0

2.1.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

25/01 2018

dev-screenshots

dev-screenshots

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

25/01 2018

dev-merge-1.3-into-master

dev-merge-1.3-into-master

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

23/01 2018

1.3.x-dev

1.3.9999999.9999999-dev

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

23/01 2018

v1.3.1

1.3.1.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

17/01 2018

v1.3.0-alpha1

1.3.0.0-alpha1

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

12/01 2018

v1.3.0

1.3.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

12/01 2018

v2.0.0

2.0.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

08/01 2018

1.2.x-dev

1.2.9999999.9999999-dev

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

08/01 2018

v1.2.1

1.2.1.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

27/11 2017

2.0.0-beta1

2.0.0.0-beta1

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

31/05 2017

v1.2.0

1.2.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

18/01 2017

v1.1.1

1.1.1.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

12/01 2017

dev-fitn-patch-1

dev-fitn-patch-1

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

10/10 2016

v1.1.0

1.1.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

30/09 2016

1.0.x-dev

1.0.9999999.9999999-dev

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

30/09 2016

v1.0.1

1.0.1.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

22/09 2016

v1.0.0

1.0.0.0

Textmaster extension for Akeneo product data

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires