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 Checker Laravel Package

bottelet/translation-checker

Laravel dev tool to scan your code for translation strings, detect missing keys in lang files (JSON/PHP), and sync them across locales. Optionally use AI to auto-translate missing entries; otherwise adds null placeholders to keep files consistent.

View on GitHub
Deep Wiki
Context7

title: Translations sorting layout: default parent: Basic Usage nav_order: 4

translations:sort

The translations:sort command is used to sort translation files by keys using the sorter specified in the configuration.

Usage

php artisan translations:sort [options]

Options

  • --source: The source language for the translations to sort (default: 'en')
  • --all: Sort all files found in the configured language folder

Description

This command sorts the translation keys in the specified language file(s) using the sorting method defined in your configuration. It helps maintain a consistent order across your translation files, making them easier to manage and compare.

Examples

  1. Sort translations for the default source language (English):
php artisan translations:sort
  1. Sort translations for French:
php artisan translations:sort --source=fr
  1. Sort all translation files in the configured language folder:
php artisan translations:sort --all

The command will sort the specified translation file(s) and update them with the sorted keys.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport