From 61f92f479f531108c884b809e0b54bacb2c96bd5 Mon Sep 17 00:00:00 2001 From: Damien HUTEAU Date: Tue, 12 May 2020 10:31:53 +0200 Subject: [PATCH] add missing link to referenced issue --- docs/localeswitcher-anywhere.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/localeswitcher-anywhere.md b/docs/localeswitcher-anywhere.md index 5fe3521..90f66d9 100644 --- a/docs/localeswitcher-anywhere.md +++ b/docs/localeswitcher-anywhere.md @@ -3,7 +3,7 @@ Localeswitcher anywhere/anyhow If you want to output the localeswitcher (or some part of it) anywhere you have access to an array called `locales` in basically any template that you use. -Using this you can craft basically any locale selector you want, see #30 for +Using this you can craft basically any locale selector you want, see [#30](https://github.com/BoltTranslate/Translate/issues/30) for more info. To see the structure please dump it by using `{{ dump(locales) }}`. The array `locales` can be ordered based on the active locale by using the `|order()` filter, like this: `{% for locale in locales|order('-active') %}`.