Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leodido committed Jan 12, 2015
1 parent 3de5c33 commit d1db269
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,11 @@ Language Codes

This library, based on [conversio library](https://github.com/leodido/conversio), is aimed to convert every existing language code to any format you want. No matter which format the input language code is.

Details
-------

The **available output formats** are:

1. `name`

The international (often english) name of the language

2. `native`

The language name written in native representation/s

3. `iso639-1`

The ISO 639-1 (two-letters code) language representation

4. `iso639-2/t`

The ISO 639-2/T (three-letters code for terminology applications) language representation

5. `iso639-2/b`

The ISO 639-2/B (three-letters code, for bibliographic applications) language representation

6. `iso639-3`

The ISO 639-3 (same as ISO 639-2/T except that for the macrolanguages) language representation

Currently **184 languages** are fully supported.

Examples
--------

Let's see some simple usage examples ...

First of all you need to create the conversion adapter and its options class.

```php
Expand Down Expand Up @@ -88,6 +59,37 @@ $converter->filter('tam'); // tamil
$converter->filter('yid + 2'); // yiddish
```

Details
-------

The **available output formats** are:

1. `name`

The international (often english) name of the language

2. `native`

The language name written in native representation/s

3. `iso639-1`

The ISO 639-1 (two-letters code) language representation

4. `iso639-2/t`

The ISO 639-2/T (three-letters code for terminology applications) language representation

5. `iso639-2/b`

The ISO 639-2/B (three-letters code, for bibliographic applications) language representation

6. `iso639-3`

The ISO 639-3 (same as ISO 639-2/T except that for the macrolanguages) language representation

Currently **184 languages** are fully supported.

Installation
------------

Expand Down

0 comments on commit d1db269

Please sign in to comment.