Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

112
Visualizações
How to refresh translations in react with phrase app

I'm using i18next library in my react app to make some translations. I have json files for each language, which I load on the index.tsx :

i18n.use(initReactI18next).init({
    resources,
    lng: 'fr',
    fallbackLng: 'fr',
    interpolation: {
        escapeValue: false
    }
})

Unfortunately, I now have to change this system, because I now receive these translations with an axios call to the back end side which is calling phrase app.

The rules I have to follow is a button calling the back end to receive translations and replace them in the project.

I tried to use react only phrase library but a modal is opening to log and this is not wanted.

How can I manage that ?

I'm using react and translations are stored in Phrase app, so maybe the back end is not necessary !

Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda