root/trunk/tests/pages/i18n.asp

Revision 55, 278 bytes (checked in by jesus, 4 years ago)

basic i18n gettext-style translation support

Line 
1 I[[Name]]: Mungo <br/>
2 <%= $Response->i18n('the other way') %> <br/>
3 I[[Telephone]]: none <br/>
4
5 <%
6   $Response->i18nHandler(sub { return join('', reverse split //, shift); });
7 %>
8
9 I[[Name]]: Mungo <br/>
10 <%= $Response->i18n('the other way') %> <br/>
11 I[[Telephone]]: none <br/>
12
Note: See TracBrowser for help on using the browser.