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

145
Visualizações
How to manage translations for a lot of languages React i18n?

The client ask us to translate 50 languages. Before we only had spanish and english so it's only two files, but now there will be 50 files. Each one has 2000 lines of translations.

So I think we have 2 options:

  1. We maintain all the files locally, but it loads them for every site load, which is not efficient.

  2. We move them to the backend, but now I depend on the backend to team to add new texts for features/when changing copy.

Has anyone had this problem? How can I solve it?

The ideal situation would be for React to only load the language it'll use, since I reload the page on language change anyway.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Definitely do not load all the language files. I18next handles this nicely, and should only load main language and fallback language. https://react.i18next.com/latest/i18next-instance

about 4 years ago · Juan Pablo Isaza Relatório
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