Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (15 sloc) 0.467 kB
a7c6c3d @freizl travis integration
freizl authored
1
a8745e2 @freizl allow wrap other elements
freizl authored
2 [![Build Status](https://secure.travis-ci.org/HaskellCNOrg/snaplet-i18n.png?branch=master)](http://travis-ci.org/HaskellCNOrg/snaplet-i18n)
a7c6c3d @freizl travis integration
freizl authored
3
08fe8de @freizl a few decriptions
freizl authored
4 ## snaplet-i18n
5
6 1. create config below into `data/message_en.cfg`
7
8 ~~~
9 hello = "Hello"
10 shanghai = "ShangHai"
11 ~~~
12
13 2. use tag in heist template
14
15 ~~~
16 <i18n name="shanghai"></i18n>
17 ~~~
18
19 **see test at test/snap.hs***
20
21 ## Snaplet
1b7b56e @freizl init 0.0.1 snaplet-i18n
freizl authored
22
23 - [what is snaplet]
24
25 [what is snaplet]: http://snapframework.com/docs/tutorials/snaplets-tutorial
Something went wrong with that request. Please try again.