Looking to hire Laravel developers? Try LaraJobs

l10n-laravel maintained by ornio

Description
L10N translation service Laravel package
Last update
2021/02/26 07:33 (dev-master)
License
Links
Downloads
186

Comments
comments powered by Disqus

L10N localization app Laravel package

L10N Laravel is a simple package that fetches translations from L10N localization app

Requirements

  • PHP version 7.0 or higher
  • Laravel version 6.0 or higher

Easy Installation

Install with composer

To install with Composer, simply require the latest version of this package.

composer require ornio/l10n-laravel

Quick Start

First add your unique l10n application token to your .env file:

L10N_TOKEN

Optionally you can add L10N_URL if it is different than default one:

L10N_URL


Publish files:

php artisan vendor:publish --tag="l10n"


Add your languages to l10n config file:

    'languages' => [
        'en', 'nb',
    ]


Finally run the command that fetches translations and saves them to default language directory:

php artisan l10n:fetch-translations