Metadata-Version: 2.1
Name: translate-by-country
Version: 0.0.4
Summary: A library to translate text by country information
Home-page: https://github.com/Sina157/translate-by-country
Author: Sina157
Author-email: sina.shams@yahoo.com
License: UNKNOWN
Platform: UNKNOWN

translate-by-country
====================

With this library, you can translate the text without choosing the language and with the characteristics of the countries

installation:
-------------

pip install translate-by-country

Usage:
------

Translates text based on country alpha2

from translate_by_country import translate_text_by_alpha2

print(translate_text_by_alpha2("hello world","ax"))
Translates text based on country alpha3

from translate_by_country import translate_text_by_alpha3
print(translate_text_by_alpha3("hello world","aut"))

Translates text based on country code

from translate_by_country import translate_text_by_code
print(translate_text_by_code("hello world",98))

Translates text based on country name

from translate_by_country import translate_text_by_name
print(translate_text_by_name("hello world","albania"))

Translates text based on country emoji

from translate_by_country import translate_text_by_name
print(translate_text_by_emoji("hello world","ðŸ‡¹ðŸ‡¼"))


