Skip to content

Laravel translation is a package the power of register paths of translations.

License

Notifications You must be signed in to change notification settings

datalogix/laravel-translation

Repository files navigation

Laravel Translation

Latest Stable Version Total Downloads tests StyleCI codecov License

Laravel translation is a package the power of register paths of translations.

Features

  • Manipulate the paths of your translations as you like
  • Register many paths to translations

Installation

You can install the package via composer:

composer require datalogix/laravel-translation

The package will automatically register itself.

Usage

// app/Providers/AppServiceProvider.php

public function boot()
{
    $this->callAfterResolving('translator', function ($translator) {
        $translator->addPath(__DIR__.'/../lang');
    });
}

About

Laravel translation is a package the power of register paths of translations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages