Bug description
Updating from 4.50.0 to 4.51.0 causes my locale selector to not work in my multisite. The localized pages still work, but my locale selector didn't show any other language than the default lang after update.
<div class="locale" data-ng-controller="locale" data-ng-class="{'locale--expanded': locale}">
<button class="locale__item locale__item--toggle" type="button" data-ng-click="toggleLocale();">
<span class="locale__item__flag locale__item__flag--{{ locales }}{{ if is_current }}{{ locale:name }}{{ /if }}{{ /locales }}"></span>
</button>
<nav class="locale__selector">
{{ locales }}
{{ if is_current }}
<button class="locale__item locale__item--active" type="button" data-ng-click="toggleLocale(); disableMenu(); disableNoScroll();">
<span class="locale__item__flag locale__item__flag--{{ locale:name }}"></span>
<span class="locale__item__name">{{ locale:name }}</span>
</button>
{{ else }}
<a class="locale__item" href="{{ url }}">
<span class="locale__item__flag locale__item__flag--{{ locale:name }}"></span>
<span class="locale__item__name">{{ locale:name }}</span>
</a>
{{ /if }}
{{ /locales }}
</nav>
</div>
How to reproduce
Update from 4.50.0 to 4.51.0
Logs
No response
Environment
EnvironmentApplication Name: NACLaravel Version: 10.46.0PHP Version: 8.3.3Composer Version: 2.5.5Environment: localDebug Mode: ENABLEDURL: nac.protoMaintenance Mode: OFFCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: statamicDatabase: mysqlLogs: stack / singleMail: postmarkQueue: syncSession: fileStatamicAddons: 3Antlers: runtimeSites: 3 (Norsk, English, Deutsch)Stache Watcher: DisabledStatic Caching: DisabledVersion: 4.50.0 PROStatamic Addonsaryehraber/statamic-captcha: 1.10.0doublethreedigital/duplicator: 4.0.1mitydigital/sitemapamic: 2.3.9
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
Bug description
Updating from 4.50.0 to 4.51.0 causes my locale selector to not work in my multisite. The localized pages still work, but my locale selector didn't show any other language than the default lang after update.
How to reproduce
Update from 4.50.0 to 4.51.0
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response