Skip to content

Commit

Permalink
Merge pull request #208 from dadaxr/patch-2
Browse files Browse the repository at this point in the history
add missing link to referenced issue
  • Loading branch information
bobdenotter authored May 14, 2020
2 parents ac5f1e9 + 61f92f4 commit 226a391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/localeswitcher-anywhere.md
Original file line number Diff line number Diff line change
Expand Up @@ -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') %}`.
Expand Down

0 comments on commit 226a391

Please sign in to comment.