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

117
Views
.net 6 mvc localization both in view and in javascript

I wanted to share some important problem with localization (transilation of words in many languages) in javascript that i solved

this is the code in view that you use in view and you can you use in js as well

@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer localizer

in view you can use like this

@localizer["addReference"].Value

in js you can use like this

@localizer["addReference"]

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

in view you can use like this @localizer["addReference"].Value

in js you can use like this @localizer["addReference"]

translation should be in double quatation mark such as "Add Reference" in resource.resx

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