Skip to content Skip to footer navigation

Locales-count Tag

Get the number of localizations.

This tag shares everything from the locales tag, except that instead of looping over the results, it will just tell you how many there are.

{{ locales:count }}
{{ locales:count self="false" }}
{{-- Using Antlers Blade Components --}}
<s:locales:count />
<s:locales:count self="false" />
 
{{-- Using Fluent Tags --}}
{{ Statamic::tag('locales:count') }}
{{ Statamic::tag('locales:count')->self(false) }}
3
2