Skip to content

Library for translate text using deepl api translator.

Notifications You must be signed in to change notification settings

cocodrino/Deeplixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deeplixir

This is a simple depl translator, you can translate your text to the available depl languages and it can detect the source language, missing features like show alternative translations and multiline support

Installation

def deps do
  [
    {:deeplixir, "~> 0.1.6"}
  ]
end

Translating text

Deeplixir.translate("hola cómo estás",:EN,:ES)

# {:ok, "Hello, how are you?"}

#you don't need set the source language if you type a long phrase

Deeplixir.translate("how old are you?",:ES)

# {:ok, "¿Cuántos años tienes?"}
#

About

Library for translate text using deepl api translator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages