Loads the Surah names for one language on demand, so only that language ends up in your bundle (bundlers split each language into its own chunk).
The language code, unknown codes fall back to English
The Surah names in that language, see SurahNames
const names = await getSurahNamesAsync("fr")names[1] // ["Al Fâtiha", "L'ouverture"] Copy
const names = await getSurahNamesAsync("fr")names[1] // ["Al Fâtiha", "L'ouverture"]
Loads the Surah names for one language on demand, so only that language ends up in your bundle (bundlers split each language into its own chunk).