Skip to content

Commit

Permalink
Add: special cases for replacing with ISO-639 table
Browse files Browse the repository at this point in the history
refs #2
  • Loading branch information
ssut committed Jul 17, 2015
1 parent 2849777 commit 649ba7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions googletrans/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ def format_json(original):
traceback.print_exc()
return converted

SPECIAL_CASES = {
'ee': 'et',
}

LANGUAGES = {
'af': 'afrikaans',
'sq': 'albanian',
Expand Down

0 comments on commit 649ba7d

Please # to comment.