Translated Language: {{ languageDisplayName || 'undefined' }}
``` In this example, the `useDisplayNames` composable is used to fetch and display the language name based on the selected locale and language code (ISO 639-1 or BCP 47 format). The returned value is reactive and will update automatically when the locale or language code changes if arguments are reactive (use ref or computed). ## Functions `useDisplayNames` can take a locale as argument to avoid passing this value each time you call the functions. This is useful when you need to fetch multiple country or language names based on the same locale. It provides the following functions: ### `getDisplayName` Fetches the localized display name of a country (region) or language based on the provided locale and code (supports ISO 639-1, ISO 3166-1, and BCP 47 formats). ```ts function getDisplayName(code: MaybeRefOrGetter