Skip to content

Commit 5933469

Browse files
committed
update documentation for translateIn filter
1 parent 1bfb546 commit 5933469

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ At present, the configuration options that are supported are as follows:
166166
- `identifiers` (default `['{', '}']`)
167167
- `preserveState` (default `false`)
168168
- `translateFilterName` (default `translate`)
169+
- `translateInFilterName` (default `translateIn`)
169170
- `onTranslationNotFound` (default `function(){}`)
170171
- `warnings`: default(`true`)
171172

@@ -301,7 +302,8 @@ There are also several methods available on the property `this.$i18n` or `Vue.i1
301302
// translate the given key
302303
$t(), Vue.i18n.translate()
303304

304-
// translate the given key in a specific locale
305+
// translate the given key in a specific locale, also available as filter
306+
// i.e {{ 'message' | translateIn('en') }}
305307
$tlang(), Vue.i18n.translateIn()
306308

307309
// get the current locale

0 commit comments

Comments
 (0)