yaroslavche/sylius-translation-plugin

Translation plugin for Sylius.

Installs: 2 364

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 2

Forks: 9

Open Issues: 19

Type:sylius-plugin


README

The main goal of this plugin is to enable you to edit translation phrases, without having to manually create or modify translation files on the server. This plugin allows you to change any phrase that is in Silyus in admin panel. All custom translations are saved in the xliff format.

v0.3.0

In the admin panel view for each locale (enabled in the Sylius) shows how many messages have been translated, how many are left and translation progress.

v0.3.0

See in action on youtube:

IMAGE ALT TEXT HERE

Installation

$ composer require yaroslavche/sylius-translation-plugin

Register bundle:

# config/bundles.php

Yaroslavche\SyliusTranslationPlugin\YaroslavcheSyliusTranslationPlugin::class => ['all' => true],

Import services:

# config/services.yaml

imports:
    # ...
    - { resource: "@YaroslavcheSyliusTranslationPlugin/Resources/config/services.yml" }

Import routing

# config/routes.yaml

yaroslavche_sylius_translation_plugin:
    resource: "@YaroslavcheSyliusTranslationPlugin/Resources/config/admin_routing.yml"

Install assets and clear cache.

$ yarn build
$ bin/console assets:install
$ bin/console cache:clear

see on /admin/translation/