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

152
Vistas
Country ISO to "in France" (with preposition) in JavaScript

Given a country ISO I can know the country name using Intl.DisplayNames API with:

const countryName = new Intl.DisplayNames([lang], { type: 'region' }).of(countryISO)
console.log(countryName) // France

However, I want to go one step further, and put the preposition in front of the country:

And depending on the country, it may be one or the other... But I don't know how this formula works... Is there any JavaScript API similar to DisplayNames that allows it?

NL:

  • FR: aux Pays-Bas
  • DE: in die Niederlande
  • IT: nei Paesi Bassi

FR:

  • FR: en France
  • DE: nach Frankreich
  • IT: in Francia

GB:

  • FR: au Royaume-uni
  • DE: ins Vereinigte Königreich
  • IT: nel Regno Unito

etc.

Thanks!

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