Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turkish Language added #169

Merged
merged 2 commits into from
Nov 9, 2015
Merged

Turkish Language added #169

merged 2 commits into from
Nov 9, 2015

Conversation

muratcorlu
Copy link
Contributor

Also a fix about Macedonian language fixed.

>>> newspaper.languages()

Your available languages are:

input code      full name
  ar              Arabic
  da              Danish
  de              German
  en              English
  es              Spanish
  fi              Finnish
  fr              French
  hu              Hungarian
  id              Indonesian
  it              Italian
  ko              Korean
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/muratcorlu/Documents/works/newspaper/newspaper/api.py", line 49, in languages
    print_available_languages()
  File "/Users/muratcorlu/Documents/works/newspaper/newspaper/utils.py", line 357, in print_available_languages
    print('  %s\t\t\t  %s' % (code, language_dict[code]))
KeyError: 'mk'

@muratcorlu muratcorlu changed the title Macedonian file raises an error Turkish Language added Nov 8, 2015
@muratcorlu
Copy link
Contributor Author

@codelucas
Copy link
Owner

Looks good to me! Thank you for this

codelucas added a commit that referenced this pull request Nov 9, 2015
@codelucas codelucas merged commit d8253bf into codelucas:master Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants