The snaplet-i18n package

[Tags:bsd3, library, program]

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
Downloads 1481 total (29 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-02-02 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for snaplet-i18n

Readme for snaplet-i18n-0.2.0

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