The snaplet-i18n package

[Tags: bsd3, library, program]

A light weight i18n snaplet.


[Skip to ReadMe]

Properties

Versions0.0.1, 0.0.2, 0.0.2.1, 0.0.3, 0.0.3.1, 0.0.4, 0.0.5
Change logNone available
Dependenciesbase (==4.*), bytestring (>=0.9 && <1.0), configurator (==0.2.*), data-lens (==2.0.*), data-lens-template (==2.1.*), directory (==1.1.*), filepath (>=1.2 && <1.4), heist (>=0.8.1 && <0.9), snap (==0.9.*), snap-core (==0.9.*), snap-loader-dynamic (==0.9.*), snap-loader-static (==0.9.*), text (==0.11.*), xmlhtml (>=0.2) [details]
LicenseBSD3
CopyrightHaisheng Wu
AuthorHaisheng,Wu
Maintainerfreizl@gmail.com
StabilityExperience
CategoryWeb
Home pagehttps://github.com/HaskellCNOrg/snaplet-i18n
Source repositoryhead: git clone git://github.com/HaskellCNOrg/snaplet-i18n.git
UploadedSat Dec 29 05:36:22 UTC 2012 by HaishengWu
Downloads949 total (44 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-06-08 [all 1 reports]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for snaplet-i18n-0.0.3.1

Build Status

snaplet-i18n

  1. create config below into data/message_en.cfg
hello = "Hello"
shanghai = "ShangHai"
  1. use tag in heist template
<i18n name="shanghai"></i18n>
<i18nSpan name="shanghai"></i18n>
<i18n name="shanghai">
  <a><i18nValue /></a>
</i18n>

see example at example dir

Snaplet

TODO