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

203
Visualizações
How can I access to the whole Antl object? (Internationalization with adonis.js)

I'm using the Antl object to use internationalization with my validation messages. It works fine with that. Antl object works with a database´s table called locales, which uses to get the messages. I added a column to this locales table in order to save some extra data about each record. When you run the application adonis.js makes a select * from locales query and it gets all the data from that table so you don´t have to access to the database. But I can´t find a method or a way to get that extra data from the Antl object, is there a way to do it?

this is the way I get the object

const Antl = use('Antl')

I'm currently using the version 4.1 of adonis and using this link https://legacy.adonisjs.com/docs/4.1/internationalization#_swit

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