import { boot } from './boot';

const FALLBACK_LOCALE = 'en-US';

export function currentLocale(): string {
	if ( boot.locale === '' ) {
		return FALLBACK_LOCALE;
	}

	return boot.locale;
}
