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

79
Vistas
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
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