How to use the next-translate/appWithI18n function in next-translate

To help you get started, we’ve selected a few next-translate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vinissimus / next-translate / examples / with-server / pages / _app.js View on Github external
import appWithI18n from 'next-translate/appWithI18n'
import i18nConfig from '../i18n'

function MyApp({ Component, pageProps }) {
  return 
}

export default appWithI18n(MyApp, i18nConfig)

next-translate

Tiny and powerful i18n tools (Next plugin + API) to translate your Next.js pages.

MIT
Latest version published 6 months ago

Package Health Score

79 / 100
Full package analysis