yaroslavche / SyliusTranslationPlugin

Translation plugin for Sylius

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sylius Translation plugin

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/

About

Translation plugin for Sylius


Languages

Language:PHP 34.5%Language:Vue 34.1%Language:JavaScript 25.7%Language:Gherkin 4.4%Language:HTML 1.1%Language:CSS 0.1%