This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.1.0
We were not able to find the expected elm-package.json file at this tag.
Tag 1.0.2
Committed At 2019-03-05 19:13:18 UTC

Modules

    README

    elm-dnn-localization

    Helpers for working with Engage's DNN localization.

    To get started, decode an array of objects into a Localization value (which is just an alias for Dict String String).

    import Engage.Localization as Localization exposing (Localization)
    
    localizationJson = """
        [
            { "key": "FirstName.Text", "value": "First Name:" },
            { "key": "LastName.Text", "value": "Last Name:" }
        ]
        """
    myLocalization = localizationJson
        |> Json.Decode.decodeString Localization.decode
    
    myModel = {
        localization: Localization
    }
    
    labelText = Localization.localizeString "FirstName.Text" myModel