Skip to content

A simple library that links language codes to language names in both English and the corresponding language's native translation.

Notifications You must be signed in to change notification settings

Vercoutere/lingua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lingua language library

No Maintenance Intended Build Status Total Downloads License

Lingua is a simple library that links language codes to language names in both English and the corresponding language's native translation.

Usage

Install using composer.

composer require vercoutere/lingua

Create a new instance.

use \Lingua\Language;

$lingua = new Language;

Use the availlable functions.

$language = $lingua->getLanguageByCode('en');
$language = $lingua->getLanguageByName('german');
$language = $lingua->getLanguageByNativeName('nederlands');

License

This library is open sourced software licensed under the MIT license

About

A simple library that links language codes to language names in both English and the corresponding language's native translation.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages