PHPackages                             usetwice/personal-translations-widget-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. [Templating &amp; Views](/categories/templating)
4. /
5. usetwice/personal-translations-widget-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

usetwice/personal-translations-widget-bundle
============================================

Adds translations widget based on Personal translations

v0.2.2(13y ago)0185MITPHP

Since Nov 14Pushed 13y agoCompare

[ Source](https://github.com/usetwice/PersonalTranslationsWidget)[ Packagist](https://packagist.org/packages/usetwice/personal-translations-widget-bundle)[ Docs](https://github.com/rodgermd/PersonalTranslationsWidget.git)[ RSS](/packages/usetwice-personal-translations-widget-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

Installation
------------

[](#installation)

Add to composer.json:

```
"ladela/personal-translations-widget-bundle" : "dev-master"

```

Add to AppKernel.php:

```
new Ladela\PersonalTranslationsWidgetBundle\PersonalTranslationsWidgetBundle(),

```

Copy or symlink file:

```
Resources/views/Form/translatable_field_widget.html.twig located in the bundle directory
~~~~

to
~~~~
/app/Resources/views/translatable_field_widget.html.twig locate din the project root

```

Languages configuration
-----------------------

[](#languages-configuration)

config.yml

```
personal_translations_widget:
  getter: your-languages-getter-service-id

```

the service class must implement TranslationsGetterInterface and return array of language-key =&gt; label pairs

```
use Ladela\PersonalTranslationsWidgetBundle\TranslationsGetter\TranslationsGetterInterface;

class LanguagesGetter implements TranslationsGetterInterface
{
  public function getLanguages()
  {
    return array('en' => 'English', 'de' => 'Deutsch');
  }
}

```

or use languages as array:

```
personal_translations_widget:
  languages:
        en: English
        es: Spanish

```

Sonata Admin sample
-------------------

[](#sonata-admin-sample)

```
protected function configureFormFields(FormMapper $form)
{
  $subject = $form->getAdmin()->getSubject();
  $form
    ->add('translations', 'translatable_field', array(
    'personal_translation' => 'Site\BaseBundle\Entity\AccommodationTranslation',
    'fields' => array('title', 'description', 'secondary_text'),
    'widgets' => array('title' => 'text', 'description' => 'textarea', 'secondary_text' => 'textarea'),
    'field_options'  => array('secondary_text' => array('attr' => array('class' => 'text-field')))
  ))
}

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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 ~8 days

Total

4

Last Release

4955d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2527020?v=4)[Markus Heingaertner](/maintainers/usetwice)[@usetwice](https://github.com/usetwice)

---

Tags

translationstwigform

### Embed Badge

![Health badge](/badges/usetwice-personal-translations-widget-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

567.3M140](/packages/symfony-ux-icons)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29735.5k](/packages/sulu-skeleton)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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