📄️ Locale settings
Project-level locale configuration lives in the /src/config-locales.js file. It is here that you can define your default locale, all of your supported locales, and various other locale-specific information you might need. While this config will be used for general localization setup, it will also be conveniently exposed to your components and pages via the useLocale React hook.
📄️ Locale data
Static site data for each locale is grouped into two general categories: the "global" data and the "page" data. Global data refers to site-wide content—things like navigation menus, footers, and so on—while page data refers to page-specific content—things like a homepage header, or a biography for an "about" page.
📄️ useLocale() hook
corgi's built-in React hook, useLocale allows you to easily pull in various pieces of locale-specific data from within your functional React components.