Files
echecsfrance/i18n.ts
T
Timothy Armes c5a1503684 Localisation (#39)
* Localisation

* Update tests

* Fix map markers in English view

* Fix typo
2023-07-03 20:14:19 +02:00

6 lines
176 B
TypeScript

import {getRequestConfig} from 'next-intl/server';
export default getRequestConfig(async ({locale}) => ({
messages: (await import(`./messages/${locale}.json`)).default
}));