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

153
Visualizações
Ways to improve a translating file using i18n

So i have this project were i'm using $.i18n internationalization-framework and I set every single expression in one unique .json file. This expression p.e:

 "viewmodel-grid-Description" : "actual_language_text"

is used in a javascript file associated into a component placeholder, like this:

placeholder: $.i18n('viewmodel-grid-Description')

Right now it's over 700 lines of code because there are a lot of windows and we need to have for each window different expression even tho the actual translated text could be the same like in other expressions. This repetion is needed because the user can customize the translated text for each window the way he wants.

Do you guys know any ways to improve this json file, could i create folders and put for each window a smaller json file with only their expressions?

about 4 years ago · Santiago Trujillo
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