Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!