Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Translation Bundle Laravel Package

lexik/translation-bundle

Symfony bundle to manage translations in a database: import from xliff/yml/php, edit via a web GUI, track missing domain translations, add new keys, and export back to files. Database loader overrides file-based translations.

View on GitHub
Deep Wiki
Context7

Overview

This Symfony bundle allows you to:

  • import translation files content into the database and provide a GUI to edit translations.
  • export translations from the database into files.
  • have an overview to check translation domains are completely translated.
  • add new translations in the database.

Build Status Latest Stable Version SensioLabsInsight

The idea is to:

  • write your translations files (xliff, yml or php) as usual for at least one language (the default language of your website for example).
  • load translations into the database by using a command line.
  • freely edit/add translation through an edition page.

The bundle overrides the translator service and provides a DatabaseLoader. Database translations content is loaded last so it overrides content from xliff, yml and php translations files. You can also export translations from the database into files in case you need to get translations files with the same content as the database.

Documentation

For installation and configuration refer to Resources/doc/index.md


Here is a little screen shot of the edition page :)

edition page screen

Development

The project provides a Makefile for common tasks (tests, static analysis, code style). See docs/development.md for:

  • How to use the Makefile (requires GNU Make, usually pre-installed on Linux and macOS).
  • Cross-platform: running the same commands on Windows (without Make) using Docker Compose.
  • Cache files (e.g. .php-cs-fixer.cache) are listed in .gitignore and are not committed; you can remove them locally if needed.

TESTING

Read the documentation for testing

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky