Skip to content

Commit

Permalink
Move description of undefined languages in Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 16, 2014
1 parent ea43e66 commit 21188ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ franc.all('O Brasil caiu 26 posições em');
* ]
*/

/* "und" is returned for too-short input: */
franc.all(''); // [ [ 'und', 1 ] ]

/* Provide a whitelist: */
franc.all('O Brasil caiu 26 posições em', {
'whitelist' : ['por', 'src', 'glg', 'spa']
Expand Down Expand Up @@ -89,12 +92,8 @@ franc.all('O Brasil caiu 26 posições em', {
* ...
* ]
*/

franc.all(''); // [ [ 'und', 1 ] ]
```

> Note!: **franc** returns the `"und"` language code for an undetermined language. This happens when the input value is too short to give a significant answer.
## Supported languages

**franc** supports 175 “languages”. For a complete list, check out [Supported-Languages.md](Supported-Languages.md).
Expand Down

0 comments on commit 21188ec

Please sign in to comment.