The snaplet-i18n package

[ Tags: bsd3, library, program, web ] [ Propose Tags ]

A light weight i18n snaplet.


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.0.2.1, 0.0.3, 0.0.3.1, 0.0.4, 0.0.5, 0.1.0, 0.2.0
Dependencies base (==4.*), bytestring, configurator, filepath, heist, lens, map-syntax, mtl, snap, snap-loader-static, snaplet-i18n, text, transformers, xmlhtml [details]
License BSD3
Copyright Haisheng Wu
Author Haisheng,Wu
Maintainer freizl@gmail.com
Category Web
Home page https://github.com/HaskellCNOrg/snaplet-i18n
Source repository head: git clone git://github.com/HaskellCNOrg/snaplet-i18n.git
Uploaded Thu Feb 2 20:00:37 UTC 2017 by HaishengWu
Distributions NixOS:0.2.0
Executables demo
Downloads 1617 total (16 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-02 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for snaplet-i18n-0.2.0

[back to package description]

Build Status

snaplet-i18n

Snaplet for localize messages

Samples

  • Check usage at snaplets/heist/templates/index.tpl
  • Sample message files snaplets/i18n/*.cfg

Snaplet

TODO

  • maybe multiple locale support at run time.
  • use getDataDir to retrieve locale msg. snaplet tutorial