Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 511 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 511 Bytes

ExBulgarian

Elixir transliteration for Bulgarian language. Converts latin characters into cyrillic, according to official and commonly used transliteration patterns in Bulgaria.

Installation

Add the dependency to your mix.exs file:

def deps do
  [
    {:ex_bulgarian, "~> 0.1.1"}
  ]
end

Usage

ExBulgarian.transliterate "Sofiya e stolitsata na Bylgariya"

OR

defmodule ExampleModule do
  use ExBulgarian

  def example do
    transliterate "Sofiya"
  end
end