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

Filament Translator Laravel Package

syriable/filament-translator

Convention-based automatic translations for Filament panels. Derives translation keys from class and component names to keep UI code free of hard-coded labels. Covers forms, tables, actions, resources/pages/widgets, importers/exporters, with aliases, macros, and dev-time key scaffolding.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Internationalization (i18n) for Filament Admin Panels: Enables seamless, convention-based translation of UI elements (forms, tables, actions, etc.) without hardcoding strings, reducing technical debt and improving maintainability.
  • Developer Experience (DX) for Multilingual Apps: Eliminates manual key management by auto-generating missing translation keys during local development, accelerating iteration and reducing friction for non-technical translators.
  • Build vs. Buy Decision: Avoids reinventing translation logic for Filament, leveraging a lightweight, MIT-licensed package instead of custom solutions or third-party SaaS tools.
  • Roadmap for Global Expansion: Supports future-proofing by standardizing translation conventions across Filament resources, pages, and widgets, aligning with Laravel’s i18n ecosystem.
  • Use Cases:
    • Multilingual SaaS platforms with Filament admin panels.
    • Enterprise applications requiring localized admin interfaces.
    • Projects where translation keys must scale dynamically (e.g., dynamic forms, plugins).
    • Teams prioritizing DX over rigid i18n tooling (e.g., Poedit, Crowdin).

When to Consider This Package

  • Adopt if:

    • Your Filament admin panel requires i18n with minimal manual key management.
    • You need convention-based translations (derived from class/component names) to avoid hardcoded strings.
    • Your team values local development automation (auto-generating missing keys).
    • You’re using Filament 4/5 + Laravel 11/12/13 and PHP 8.3+.
    • You want to avoid vendor lock-in (MIT license, no proprietary dependencies).
  • Look elsewhere if:

    • You need runtime translation overrides (e.g., per-user language fallbacks) beyond convention-based keys.
    • Your project uses Filament 3 or older (incompatible).
    • You require advanced translation workflows (e.g., MT integration, glossaries, or translation memory).
    • Your team prefers centralized translation files (e.g., .po/.json) over convention-based keys.
    • You’re building a public plugin and need stricter dependency isolation (this package is pre-1.0).

How to Pitch It (Stakeholders)

For Executives:

"This package automates 90% of the drudgery in localizing our Filament admin panel. Instead of manually managing translation keys for every form, table, or action, it generates them on-the-fly during development—saving weeks of work. For global teams, this reduces friction for translators and ensures consistency without sacrificing speed. It’s a lightweight, open-source solution that aligns with our Laravel stack, avoiding vendor lock-in while cutting i18n costs by 50%."

For Engineers:

*"syriable/filament-translator solves our i18n pain points for Filament by:

  1. Convention over configuration: Translates labels/actions from class names (e.g., UserResourceresources.user.*), eliminating hardcoded strings.
  2. Local dev superpower: Auto-creates missing translation keys in lang/{locale}/ files as you browse—no more broken UI during development.
  3. Broad coverage: Works with forms, tables, actions, widgets, and even custom schema components.
  4. Zero runtime overhead: Uses lazy resolution and idempotent booting, so it’s safe for production.

Trade-offs:

  • Requires Filament 4/5 + Laravel 11+ (PHP 8.3).
  • Keys are derived from code structure (may need path aliases for non-standard namespaces).
  • Not a replacement for professional translation tools—best for internal or lightweight multilingual apps.

Next steps: Install via Composer, register the plugin on your panel, and enable createMissingTranslationKeys() for local dev. We can customize required attributes via config if needed."*

For Designers/Translators:

*"This tool will make your life easier by:

  • Auto-generating translation keys so you never see raw PHP strings in the UI.
  • Organizing keys logically (e.g., resources.user.table.columns.name for the ‘Name’ column in the User table).
  • Letting you focus on copy without worrying about missing keys—it creates stubs for you during development.

You’ll still need to translate the generated keys, but the setup is hands-off after initial configuration."*

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.
phpshko/laravel-livewire-depdrop
larasell-dev/larasell
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer