PHPackages                             tailrdigital/sulu-translations-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. tailrdigital/sulu-translations-bundle

Abandoned → [phpro/sulu-translations-bundle](/?search=phpro%2Fsulu-translations-bundle)ArchivedSymfony-bundle[Localization &amp; i18n](/categories/localization)

tailrdigital/sulu-translations-bundle
=====================================

0.4.0(10mo ago)65.2k6MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0CI passing

Since Nov 22Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/tailrdigital/sulu-translations-bundle)[ Packagist](https://packagist.org/packages/tailrdigital/sulu-translations-bundle)[ RSS](/packages/tailrdigital-sulu-translations-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (18)Versions (7)Used By (0)

> ## Repository abandoned 2025-11-19
>
> [](#repository-abandoned-2025-11-19)
>
> This repository has moved to [phpro/sulu-translations-bundle](https://github.com/phpro/sulu-translations-bundle/). You can follow a [migration guide](https://github.com/phpro/sulu-translations-bundle/releases/tag/1.0.0) to upgrade your project.

Sulu Translations Bundle
========================

[](#sulu-translations-bundle)

This package provides a Sulu admin panel for managing your website translations.

The package includes a custom [Symfony translation provider](https://symfony.com/doc/current/translation.html#translation-providers) which stores your translations in a database.

Demo
----

[](#demo)

    sulu-translations-bundle-demo.mov    Installation
------------

[](#installation)

```
composer require tailrdigital/sulu-translations-bundle
```

#### Register the bundle

[](#register-the-bundle)

Make sure the bundle is activated in `config/bundles.php`:

```
Tailr\SuluTranslationsBundle\SuluTranslationsBundle::class => ['all' => true]
```

#### Register new admin routes

[](#register-new-admin-routes)

You need to manually register the failed queue admin controller routes in the file `config/routes_admin.yaml`.

```
# config/routes_admin.yaml

tailr_translations:
  resource: '@SuluTranslationsBundle/Presentation/Controller/Admin'
  type: attribute
  prefix: /admin/api
```

#### Add node dependency

[](#add-node-dependency)

Register an additional module in your admin's node dependencies via `assets/admin/package.json`:

```
{
  "dependencies": {
    "sulu-translations-bundle": "file:../../vendor/tailrdigital/sulu-translations-bundle/assets/admin"
  }
}
```

Make sure to load the additional node module in your admin's `assets/admin/index.js` or `assets/admin/app.js` file:

```
import 'sulu-translations-bundle';
```

#### Recompile your admin assets

[](#recompile-your-admin-assets)

```
cd /app/assets/admin
npm install
npm run watch
```

Configuration
-------------

[](#configuration)

#### Configuring the provider

[](#configuring-the-provider)

You have to add the database provider to the Symfony translator configuration. This is an example configuration for the `config/packages/translation.yaml` file.

```
# config/packages/translation.yaml

framework:
    translator:
        providers:
            tailr_database:
                dsn: 'database://default'
                domains: [ 'messages' ]
                locales: [ 'en', 'fr', 'nl' ]
```

#### Doctrine DBAL connection

[](#doctrine-dbal-connection)

The hostname in the DSN is actually your Doctrine DBAL connection name: `database://`. If you want to store your translations in a separate database (preferred), you could [configure a new DBAL connection](https://symfony.com/doc/current/doctrine/multiple_entity_managers.html) and use the connection name in the DSN of the database translation provider.

If you are using your default DBAL connection you probably want to configure `doctrine.dbal.schema_filter` so your migrations doesn't try to drop the `tailr_translations` table.

```
doctrine:
    dbal:
        url: '%env(DATABASE_URL)%'
        schema_filter: '/^(?!(other_prefix_|tailr_translations))/'
```

#### Export format

[](#export-format)

If you want to export your translations via the administrator panel, you should define the format or extension which is used for your translation files.

```
# config/packages/sulu_translations.yaml

sulu_translations:
  export_format: 'csv'
```

#### Permissions

[](#permissions)

Make sure you've set the correct permissions in the Sulu admin for this package. Go to *Settings &gt; User Roles* and enable the permissions (tailr\_translations) you need. Afterwards you could find the translations view/panel via *Settings &gt; Manage translations*.

Usage
-----

[](#usage)

First make sure the database table `tailr_translations` is created by running the command below.

```
bin/console tailr:sulu-translations:setup
```

If you don't have local translations files (e.g. CSV) you can generate them by using the command below.

```
bin/console translation:extract --force --domain=messages --format=csv
```

Once you have local translation files, you can export them to the database by using command below.

```
bin/console translation:push tailr_database
```

Next you can update the translations via the Sulu admin panel.

Once you are done, you can export the translations back to the translations files by using the command below or clicking the *Export translations* button via the Sulu admin panel.

```
bin/console translation:pull tailr_database --force --format csv
```

After pulling the translations, you may need to clear the cache(s).

```
bin/console cache:clear
bin/websiteconsole cache:clear
```

Sulu AI
-------

[](#sulu-ai)

Using AI to autocomplete missing translations is a real time-saver and can help you to quickly fill in the gaps in your translations.

If you are using the Sulu AI bundle or platform, you can use the AI translation feature to automatically translate your content. This feature is automatically enabled if you have the Sulu AI bundle installed and configured.

Known limitations
-----------------

[](#known-limitations)

Only tested and used with CSV and YAML format.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance59

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~52 days

Total

6

Last Release

320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e54ff5aef5505b0aef6d7b4a0eecc45725fda1243ba90035c427582a1029766?d=identicon)[tailrdigital](/maintainers/tailrdigital)

---

Top Contributors

[![stefliekens](https://avatars.githubusercontent.com/u/3245491?v=4)](https://github.com/stefliekens "stefliekens (29 commits)")[![veewee](https://avatars.githubusercontent.com/u/1618158?v=4)](https://github.com/veewee "veewee (5 commits)")

---

Tags

i18nsulutranslatsions

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tailrdigital-sulu-translations-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tailrdigital-sulu-translations-bundle/health.svg)](https://phpackages.com/packages/tailrdigital-sulu-translations-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
