Browse files

a few decriptions

  • Loading branch information...
1 parent 1b7b56e commit 08fe8ded40a658608a7b04bd12ee97e4f607711e @freizl freizl committed May 13, 2012
Showing with 18 additions and 1 deletion.
  1. +18 −1 README
View
19 README
@@ -1,4 +1,21 @@
-snaplet-i18n
+## snaplet-i18n
+
+1. create config below into `data/message_en.cfg`
+
+~~~
+hello = "Hello"
+shanghai = "ShangHai"
+~~~
+
+2. use tag in heist template
+
+~~~
+<i18n name="shanghai"></i18n>
+~~~
+
+**see test at test/snap.hs***
+
+## Snaplet
- [what is snaplet]

0 comments on commit 08fe8de

Please sign in to comment.