Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (15 sloc) 0.765 kb
410920c @ozataman Fixes, use ByteString interface of Si18n by default
authored
1 # Simple I18n For Snap Applications
2
3
4 ## Introduction
5
6
7 ## Status
8
9
10 ## TODO
50dd7d3 @ozataman Bump snap version to 0.4
authored
11
12 Here are some pieces we might be able to integrate into this package:
13
14 * A ready-to-go "translate" Heist splice binding that gets the key from the
15 tag and splices in the translation.
16 * extension-session integration that looks up the "locale" variable from the
17 session to determine the correct locale for the active user/session
18 * A function that returns a "translator" inside the Snap monad, which itself
19 is a function that accepts a key and possibly a set of substitution tokens
20 and returns the translated value. This function can be passed to pure
21 view/template constructors.
22
23
24 These ideas are being tested and will be integrated if it turns out they are
25 useful.
26
Something went wrong with that request. Please try again.