Surah names in every language: import { surahNamesFr, getSurahName } from "quran-meta/i18n".
Importing one table (surahNamesFr) bundles only that language. surahNames and
getSurahNames pick the language at runtime, so they bundle all of them. English and
Arabic are also exported from the main entry.
Surah names in every language:
import { surahNamesFr, getSurahName } from "quran-meta/i18n".Importing one table (
surahNamesFr) bundles only that language.surahNamesandgetSurahNamespick the language at runtime, so they bundle all of them. English and Arabic are also exported from the main entry.