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

97
Visualizações
Odoo14 JS Labels Not Being Translated

I am trying to translate my custom module labels in both JS and Python code. The Python labels were successfully translated and exported when exporting my_module.pot but the problem is that the JS labels being used in _t('Any Label') is not being found in my_module.pot. In the below example the "Read Card" is not found in my_module.pot file.

if(Object.keys(me.paciMappingCache[model]['mapping']['mapping']).length) { // append the button if the user has mapped fields to the current model
                    el.append(`
                        <div class="azk-paci-form-buttons mt-2 d-none">
                            <button name="sync_paci_data_btn" class="btn btn-primary oe_button_sync_paci_data" type="button" title="Read card fields from card reader">`+_t("Read Card")+`</button>
                        </div>
                    `);
}
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