Module Types.Locale

type t = t_locale

The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.

val locale : t -> string

The writing direction for the locale.

The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.

val direction : t -> [ `rtl | `ltr ]

The writing direction for the locale.

val make : locale:string -> direction:[ `rtl | `ltr ] -> unit -> t