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

228
Visualizações
Using JavaScript's Intl object to display country names with a definite article

In some languages a country name can have a definite article, like for example German and I saw here, that some of the places in English as well.

So my question would (an I'm not sure whether it's possible or not) whether JavaScript's built-in Intl package would have a functionality to display country names with a definite article by providing an option and what option might it be? (I've searched a lot, but unfortunately couldn't find anything)

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Seems the answer is no.

There are no article country names in JS

Otherwise we would see The Netherlands and The Falkland Islands

const regionNamesInEnglish = new Intl.DisplayNames(['en'], { type: 'region' });
console.log(regionNamesInEnglish.of('NL'));
console.log(regionNamesInEnglish.of('FK'));

There are not that many anyway

https://www.engvid.com/english-resource/the-with-country-names-lakes-rivers/

about 4 years ago · Juan Pablo Isaza Relatório
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