2017 © Pedro Peláez
 

library lingos

Baseline language files for Laravel4

image

illuminate3/lingos

Baseline language files for Laravel4

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Lingos

Depreciated

Use my new package called Kotoba for Laravel 5. I will no longer support this., (*1)

About

Baseline language files for Laravel4., (*2)

Version

0.8.0 * Basic Files based on stevemo's Cpanel * Add in some of brunogaspar's lang files, (*3)

Available Languages

  • English

Installation

1.) Add to composer.json in the require statement:, (*4)

"require": {
    "illuminate3/lingos": "dev-master",
    ...
},

2.) Add to the app.php providers list, (*5)

'Illuminate3\Lingos\LingosServiceProvider',

Usage

{{ Lang::get('lingos::auth.register') }}

real world examples:, (*6)

{{ Lang::get('lingos::filename.word') }}
{{ trans('lingos::filename.word') }}

lingos:: // The package name auth. // The language file name register // The phrase or word that you want to call, (*7)

Result: Register, (*8)

Files

  1. auth :: relates to authorization and security
  2. button :: relates to various words appearing on buttons
  3. general :: relates to various often used words and phrases
  4. emails :: relates to email template phrases and words
  5. table :: relates to various words appearing in tables
  6. sentry :: relates to various words that sentry 2 uses

Note: Sometimes you have words or phrases that can fall into both the button and general categories. I separated these since you might want to have them slightly different, like capitalizations or similar., (*9)

Projects used to create Lingos

Stevemo's Cpanel, (*10)

brunogaspar's laravel4-starter-kit, (*11)

illuminate3's Vedette, (*12)

The Versions

28/02 2015

dev-master

9999999-dev https://github.com/illuminate3/lingos

Baseline language files for Laravel4

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

laravel language i18n