---
import config from 'virtual:starlight/user-config';
import { localizedUrl } from '../utils/localizedUrl';
import Select from './Select.astro';
import type { Props } from '../props';
/**
* Get the equivalent of the current page path for the passed locale.
*/
function localizedPathname(locale: string | undefined): string {
return localizedUrl(Astro.url, locale).pathname;
}
const { labels } = Astro.props;
---
{
config.isMultilingual && (
)
}