Skip to content
#

react-i18next

Here are 77 public repositories matching this topic...

Stewiey
Stewiey commented Oct 30, 2020

hey, first of all i'd like to mention that I'm not using graphql at all in my project.

I'm creating my pages with createPages (in gatsby-node.js), everything works just fine beside the page that needs extra prop from the slug,

here how i create it

createPages({
    path: '/item',
    matchPath: '/item/:itemId',
    component: path.resolve('./src/pages/ShowItem.js'),
    context: {}
bug good first issue help wanted
atanaskanchev
atanaskanchev commented Jan 9, 2022

While the setup works fine running locally, the deployed to vercel app returns empty translations by loadTranslations in getServerSideProps

GET | https://app.vercel.app/_next/data/HZ7wajlS0AuNQGjuW_9so/en/app/dashboard.json

{"pageProps":{"__ni18n_server__":{"resources":{"en":{"dashboard":{},"common":{}}},"ns":["dashboard","common"]}},"__N_SSP":true}

ni18n.config.ts

bug good first issue

A sample collection of many useful ReactJS libraries with examples and code explanations. It was my first ReactJS-app and now is a source of all the libraries and packages I have worked with in React.

  • Updated Sep 6, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the react-i18next topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the react-i18next topic, visit your repo's landing page and select "manage topics."

Learn more