Module

Simple.I18n.Translation

#Translation

newtype Translation (xs :: SList)

A representation of translated words.

SList parameter is a label list.

NOTE: Labels are ordered alphabetically.

#fromRecord

fromRecord :: forall r rl xs. RowToList r rl => SListToRowList xs rl => Homogeneous r String => Record r -> Translation xs

Create a Translation from a homogeneous record with String fields.

#toRecord

toRecord :: forall rl r xs. ListToRow rl r => SListToRowList xs rl => Homogeneous r String => Translation xs -> Record r

Modules