2017 © Pedro Peláez
 

library gengo

mulitple languages in mysql format

image

illuminate3/gengo

mulitple languages in mysql format

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

The README.md

Gengo

About

gengo | gen sounds like ken but with a g, go is just like the english go, (*1)

Japanese characters 言語, (*2)

noun Gengo, (*3)

Gengo roughly translates to language or speech. However, you'd hear "gaikokugo" (foreign land language) or "eigo" (English) used instead of the more encompassing "gengo" used in daily usage. [ This is my own (this package author's) translation ], (*4)

Gengo is a list of 185 languages. Both ISO-639-1 and ISO-639-3 codes are included. 27 language translations have been added based on wikipedia's matrix and my own list of Japanese translations. All translations are saved to a mysql database., (*5)

Laravel 4 only, (*6)

Version

0.2.0, (*7)

Requirements

laravel, (*8)

MySQL database, (*9)

Packages

  • "illuminate/support": "4.0.x" // Need to make sure laravel exists, 4.1 should work too.

Installation

1.) Add to the app.php providers list, (*10)

'Illuminate3\Gengo\GengoServiceProvider',

2.) Gengo comes with a few handy commands that are available in artisan., (*11)

gengo
  gengo:install        run migration (2 tables), seed tables

Run "gengo:install" from artisan to install and to start using gengo., (*12)

Usage

At the moment, only migrations and seeds exist., (*13)

I've included a status column but all statuses are set to '0' at the moment since I did not want to assume that users will speak a certain language or not., (*14)

Future

I'm working on an admin interface to allow easy editing of the languages and to allow status changes. Following that will be an interface so that you can just call a function to create drop downs and such., (*15)

Projects used to create Gengo

Paul Scott's Language Codes, (*16)

Wikipedia's Language Matrix, (*17)

Notice

Some languages may be mangled, screwed up, botched or just destroyed by my text editor (BBEdit), mysql (using Sequel Pro for dumps), or even my spread sheet editor (Libre office). Could also have just been a bad copy/paste job too :P, (*18)

Anyway, I'd really appreciate help from those of you who speak other languages besides English., (*19)

Pull Requests

Please send a pull requests so that I can fill out the missing language translations or to make corrections., (*20)

The Versions

03/03 2015

dev-master

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

mulitple languages in mysql format

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

laravel language select i18n iso-639