Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

152
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda