View Source Cldr.Language (ex_cldr_languages v0.3.3)

Cldr Languages does provide functionality regarding languages within the data supplied by the Cldr core package.

To use the functionality of this module you need to register it as provider in your cldr backend module.

example

Example

defmodule MyApp.Backend do
  use Cldr,
    providers: [Cldr.Language, ],
    
end

interface

Interface

All functionality will be compiled into MyApp.Backend.Language.

functions

Functions

  • available_languages/0
  • available_languages/1
  • known_languages/0
  • known_languages/1
  • to_string/1
  • to_string/2