--- import { getLocalizedCollection } from '../../utils/content-i18n'; import { t, getPhotoBlogPath, getPhotoAlbumsPath, type Locale } from '../../utils/i18n'; interface Props { lang?: Locale; } const { lang = 'fr' } = Astro.props; // Récupérer les catégories filtrées par langue const sortedCategories = (await getLocalizedCollection('photoCategories', lang)) .sort((a, b) => (a.data.order || 99) - (b.data.order || 99)); ---

{t('photo', 'categories', lang)}

{t('photo', 'browseByTheme', lang)}

{t('photo', 'photoFeed', lang)}

{t('photo', 'feedDescription', lang)}

{t('photo', 'viewFeed', lang)}