Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

86
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda