Packages

Polyglot is a localization library for Elixir that provides reusable formatting rules and translations for a large number of languages.

Current section

Files

Jump to
polyglot lib polyglot.ex
Raw

lib/polyglot.ex

defmodule Polyglot do
@moduledoc (
# Readme without the leading heading and CI badges
File.read!("README.md")
|> String.split("\n")
|> Enum.drop_while(&String.match?(&1, ~r/\A(\W|\z)/))
|> Enum.join("\n")
)
end