Skip to content

Instantly share code, notes, and snippets.

View jonashendrickx's full-sized avatar
🇪🇦

Jonas Hendrickx jonashendrickx

🇪🇦
View GitHub Profile
@jonashendrickx
jonashendrickx / i18n.js
Created May 6, 2020 07:43
next.js with next-i18next translations
/*
Do not copy/paste this code. It is used internally
to manage end-to-end test suites.
*/
const NextI18Next = require('next-i18next').default
const { localeSubpaths } = require('next/config').default().publicRuntimeConfig
const localeSubpathVariations = {
none: {},