Package

Outl1Ne Nova Translations Loader

This Laravel Nova package helps developers load translations into their packages.

Package

outl1ne/nova-translations-loader

View on GitHub →

Nova Translations Loader

The Nova Translations Loader is a Laravel Nova package designed to facilitate the loading of translations into Laravel Nova applications. This package is especially useful for developers building multilingual Nova packages, ensuring seamless integration of language files.

Key Features:

  • Ease of Translation Loading: Simplifies the process of incorporating translations into Nova packages.
  • Automatic Publishing Option: Allows translations to be automatically made publishable, easing the deployment process.

Requirements:

  • PHP version 8.0 or higher.
  • Laravel Framework version 9.0 or 10.0.
  • Laravel Nova version 4.0 or higher.

Installation:

The package can be installed via Composer:

composer require outl1ne/nova-translations-loader

Usage:

To use the package, include the LoadsNovaTranslations trait within a Laravel ServiceProvider and configure the loadTranslations method as shown below:

use Outl1ne\NovaTranslationsLoader\LoadsNovaTranslations;

class SomePackagesServiceProvider extends ServiceProvider
{
    use LoadsNovaTranslations;

    public function boot()
    {
        $this->loadTranslations(__DIR__ . '/../resources/lang', 'nova-package', true);
    }
}

This setup allows for loading translations from a specified directory, associating them with a package name, and optionally setting them to be publishable.

Credits:

This package streamlines the translation management process in Laravel Nova applications, making it an essential tool for developers working with multilingual environments.

Outl1Ne Nova Translations Loader Related Articles

Using Laravel translations in Javascript with the Laravel Translations Loader image

Using Laravel translations in Javascript with the Laravel Translations Loader

Read article
Building your first Laravel Nova Tool image

Building your first Laravel Nova Tool

Read article
Laravel Translations Loader image

Laravel Translations Loader

Read article
Store your translations in the database with Laravel translation loader package image

Store your translations in the database with Laravel translation loader package

Read article
Introducing Laravel Nova image

Introducing Laravel Nova

Read article
Find Missing Translations with the Laravel Translations Checker image

Find Missing Translations with the Laravel Translations Checker

Read article

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing