Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 578 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 578 Bytes

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?"}
#