update readme to correct setLocale function

This commit is contained in:
Anthony Lansangan
2020-06-08 18:40:49 +08:00
parent 8963af3a0a
commit 8a1f8c02fa

View File

@@ -103,7 +103,7 @@ __('{a} {a} {b} {b} {b}', {a: 'foo', b: 'bar'})
Get locale from query / cookie and header. Get locale from query / cookie and header.
### `context.setLocale()` ### `context.__setLocale()`
Set locale and cookie. Set locale and cookie.