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

120
Vistas
translation issue in React

Hi I am reading value of translation from database. they are stored like key value like below.

"marketing_contact":"Contact",
"marketing_address":"Address",
"marketing_phone":"+00 00 00 00 00",

to use them I am using i18-next library and reading the value like below. i18n.t("marketing_contact") . it is working properly.

but I need to put these inside the form. at every place other than form it is working.

 const inputForm = [
 {
  "canHaveAnswer":true,
  "contact":i18n.t("marketing_contact"),
  "address":i18n.t("marketing_address")
 }
 ];

suppose if I write "contact":"Shruti", inside the form then it works but it is not replacing value of i18 inside it. I am not sure what wrong I am doing? Other than this form wherever I have used these i18n.t("marketing_contact") they are working.

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