Also available on the Akeneo marketplace: https://marketplace.akeneo.com/
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.
======= | 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.
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.
The 2.3 version of this extension uses Textmaster API templates. You must have at least one API template before using this extension.
The translation request is done by a very simple mass edit process:
You can check translation progress with the dashboard :
First step is to require the sources:
composer require textmaster/akeneo-extension 3.0
Register your bundle in the AppKernel::registerProjectBundles
:
new \Pim\Bundle\TextmasterBundle\PimTextmasterBundle(),
Then we need to add a new mass edit batch job:
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
:
textmaster:
resource: "@PimTextmasterBundle/Resources/config/routing.yml"
Optional : Add those parameters into app/config/parameters.yml to use textmaster sandbox :
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:
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:
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.
Finally, you must set a cron
to synchronize translation progress from Textmaster:
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.
You can configure your TextMaster plugin in the dedicated screen: System >> Configuration >> TextMaster
In this screen you will be able to set:
API key
and API secret
A live demonstration for the 1.2 version of this extension is available on this short video: https://www.youtube.com/watch?v=9WkyQFwoWWo