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

78
Views
Dynamic hcaptcha language loading issue in Angular

We are using ng-hcapthca in angular application to support different languages. When i open directly with the url with supporting language, the application is opened with captcha in respective language. But when i tried to change the hcaptcha language programatically by using [hl]="changeLanguage()" or [languageCode]="changeLanguage()" methods it is not working, and showing same language.

Working code is shown below

app.component.html

<ng-hcaptcha formControlName="hcaptcha" [hl]="changeLanguage()" or [languageCode]="changeLanguage()">

app.compoent.ts

changeLanguage() { if(this.language === 'th') { return 'th' }

From the above example the language variable i am getting as thai language ('th') but it is not loading with 'thai' language. it is still showing english language in my application as it is previously loaded.

Could you please let me know how can we do programmatically update the captcha language

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!