export const EZHP_I18N = {
    en: {
        enterBirthdate: "Enter your birthdate:",
        getHoroscope: "Get Horoscope",
        pleaseEnterBirthdate: "Please enter a valid birthdate.",
        loading: "Loading…"
    },
    fr: { enterBirthdate: "Entrez votre date de naissance :", getHoroscope: "Obtenir l’horoscope", pleaseEnterBirthdate: "Veuillez entrer une date valide.", loading: "Chargement…" },
    it: { enterBirthdate: "Inserisci la tua data di nascita:", getHoroscope: "Ottieni l'oroscopo", pleaseEnterBirthdate: "Inserisci una data valida.", loading: "Caricamento…" },
    de: { enterBirthdate: "Geben Sie Ihr Geburtsdatum ein:", getHoroscope: "Horoskop abrufen", pleaseEnterBirthdate: "Bitte geben Sie ein gültiges Datum ein.", loading: "Laden…" },
    es: { enterBirthdate: "Ingrese su fecha de nacimiento:", getHoroscope: "Obtener horóscopo", pleaseEnterBirthdate: "Ingrese una fecha válida.", loading: "Cargando…" },
    ar: { enterBirthdate: "أدخل تاريخ ميلادك:", getHoroscope: "احصل على برجك", pleaseEnterBirthdate: "يرجى إدخال تاريخ صالح.", loading: "جارٍ التحميل…" },
    bn: { enterBirthdate: "আপনার জন্মতারিখ লিখুন:", getHoroscope: "রাশিফল দেখুন", pleaseEnterBirthdate: "একটি বৈধ জন্মতারিখ লিখুন।", loading: "লোড হচ্ছে…" },
    cs: { enterBirthdate: "Zadejte datum narození:", getHoroscope: "Získat horoskop", pleaseEnterBirthdate: "Zadejte platné datum.", loading: "Načítání…" },
    da: { enterBirthdate: "Indtast din fødselsdato:", getHoroscope: "Få horoskop", pleaseEnterBirthdate: "Indtast en gyldig dato.", loading: "Indlæser…" },
    el: { enterBirthdate: "Εισάγετε την ημερομηνία γέννησής σας:", getHoroscope: "Λάβετε το ωροσκόπιο", pleaseEnterBirthdate: "Εισάγετε έγκυρη ημερομηνία.", loading: "Φόρτωση…" },
    et: { enterBirthdate: "Sisestage oma sünnikuupäev:", getHoroscope: "Hangi horoskoop", pleaseEnterBirthdate: "Sisestage kehtiv kuupäev.", loading: "Laadimine…" },
    eu: { enterBirthdate: "Sartu zure jaioteguna:", getHoroscope: "Eskuratu zhoroskopoa", pleaseEnterBirthdate: "Sartu baliozko data.", loading: "Kargatzen…" },
    fa: { enterBirthdate: "تاریخ تولد خود را وارد کنید:", getHoroscope: "دریافت طالع‌بینی", pleaseEnterBirthdate: "تاریخ معتبر وارد کنید.", loading: "در حال بارگذاری…" },
    fi: { enterBirthdate: "Anna syntymäpäiväsi:", getHoroscope: "Hae horoskooppi", pleaseEnterBirthdate: "Anna kelvollinen päivämäärä.", loading: "Ladataan…" },
    he: { enterBirthdate: "הזן את תאריך הלידה שלך:", getHoroscope: "קבל את ההורוסקופ", pleaseEnterBirthdate: "הזן תאריך תקין.", loading: "טוען…" },
    hi: { enterBirthdate: "अपनी जन्मतिथि दर्ज करें:", getHoroscope: "राशिफल प्राप्त करें", pleaseEnterBirthdate: "कृपया वैध तिथि दर्ज करें।", loading: "लोड हो रहा है…" },
    hu: { enterBirthdate: "Adja meg születési dátumát:", getHoroscope: "Horoszkóp lekérése", pleaseEnterBirthdate: "Érvényes dátumot adjon meg.", loading: "Betöltés…" },
    id: { enterBirthdate: "Masukkan tanggal lahir Anda:", getHoroscope: "Dapatkan horoskop", pleaseEnterBirthdate: "Masukkan tanggal yang valid.", loading: "Memuat…" },
    ja: { enterBirthdate: "生年月日を入力してください:", getHoroscope: "星占いを取得", pleaseEnterBirthdate: "有効な日付を入力してください。", loading: "読み込み中…" },
    ko: { enterBirthdate: "생년월일을 입력하세요:", getHoroscope: "운세 받기", pleaseEnterBirthdate: "유효한 날짜를 입력하세요.", loading: "로드 중…" },
    lt: { enterBirthdate: "Įveskite savo gimimo datą:", getHoroscope: "Gauti horoskopą", pleaseEnterBirthdate: "Įveskite tinkamą datą.", loading: "Įkeliama…" },
    lv: { enterBirthdate: "Ievadiet savu dzimšanas datumu:", getHoroscope: "Saņemt horoskopu", pleaseEnterBirthdate: "Ievadiet derīgu datumu.", loading: "Ielādē…" },
    ms: { enterBirthdate: "Masukkan tarikh lahir anda:", getHoroscope: "Dapatkan horoskop", pleaseEnterBirthdate: "Sila masukkan tarikh yang sah.", loading: "Memuat…" },
    nb: { enterBirthdate: "Skriv inn fødselsdatoen din:", getHoroscope: "Hent horoskop", pleaseEnterBirthdate: "Skriv inn en gyldig dato.", loading: "Laster…" },
    nl: { enterBirthdate: "Vul uw geboortedatum in:", getHoroscope: "Horoscoop ophalen", pleaseEnterBirthdate: "Voer een geldige datum in.", loading: "Laden…" },
    pl: { enterBirthdate: "Wpisz swoją datę urodzenia:", getHoroscope: "Pobierz horoskop", pleaseEnterBirthdate: "Wpisz poprawną datę.", loading: "Ładowanie…" },
    pt: { enterBirthdate: "Digite sua data de nascimento:", getHoroscope: "Obter horóscopo", pleaseEnterBirthdate: "Digite uma data válida.", loading: "Carregando…" },
    ro: { enterBirthdate: "Introduceți data nașterii:", getHoroscope: "Obține horoscopul", pleaseEnterBirthdate: "Introduceți o dată validă.", loading: "Se încarcă…" },
    ru: { enterBirthdate: "Введите дату рождения:", getHoroscope: "Получить гороскоп", pleaseEnterBirthdate: "Введите действительную дату.", loading: "Загрузка…" },
    sq: { enterBirthdate: "Shkruani datën tuaj të lindjes:", getHoroscope: "Merrni horoskopin", pleaseEnterBirthdate: "Shkruani një datë të vlefshme.", loading: "Duke u ngarkuar…" },
    sv: { enterBirthdate: "Ange ditt födelsedatum:", getHoroscope: "Hämta horoskop", pleaseEnterBirthdate: "Ange ett giltigt datum.", loading: "Laddar…" },
    th: { enterBirthdate: "ป้อนวันเกิดของคุณ:", getHoroscope: "ดูดวง", pleaseEnterBirthdate: "โปรดป้อนวันที่ที่ถูกต้อง", loading: "กำลังโหลด…" },
    tl: { enterBirthdate: "Ilagay ang iyong kaarawan:", getHoroscope: "Kunin ang horoscope", pleaseEnterBirthdate: "Maglagay ng wastong petsa.", loading: "Naglo-load…" },
    tr: { enterBirthdate: "Doğum tarihinizi girin:", getHoroscope: "Burç yorumu al", pleaseEnterBirthdate: "Lütfen geçerli bir tarih girin.", loading: "Yükleniyor…" },
    uk: { enterBirthdate: "Введіть дату народження:", getHoroscope: "Отримати гороскоп", pleaseEnterBirthdate: "Введіть дійсну дату.", loading: "Завантаження…" },
    ur: { enterBirthdate: "اپنی تاریخ پیدائش درج کریں:", getHoroscope: "ہولوسکوپ حاصل کریں", pleaseEnterBirthdate: "براہ کرم درست تاریخ درج کریں۔", loading: "لوڈ ہو رہا ہے…" },
    eo: { enterBirthdate: "Enigu vian naskiĝdaton:", getHoroscope: "Ricevi horoskopon", pleaseEnterBirthdate: "Enigu validan daton.", loading: "Ŝargante…" },
    ga: { enterBirthdate: "Iontráil do dháta breithe:", getHoroscope: "Faigh horoscóp", pleaseEnterBirthdate: "Iontráil dáta bailí.", loading: "Á luchtú…" },
    gl: { enterBirthdate: "Introduce a túa data de nacemento:", getHoroscope: "Obter o horóscopo", pleaseEnterBirthdate: "Introduce unha data válida.", loading: "Cargando…" },
    az: { enterBirthdate: "Doğum tarixinizi daxil edin:", getHoroscope: "Bürcləri əldə edin", pleaseEnterBirthdate: "Düzgün tarix daxil edin.", loading: "Yüklənir…" },
    bg: { enterBirthdate: "Въведете вашата рождена дата:", getHoroscope: "Получете хороскоп", pleaseEnterBirthdate: "Въведете валидна дата.", loading: "Зареждане…" },
    ca: { enterBirthdate: "Introdueix la teva data de naixement:", getHoroscope: "Aconsegueix l'horòscop", pleaseEnterBirthdate: "Introdueix una data vàlida.", loading: "Carregant…" },
    sk: { enterBirthdate: "Zadajte dátum narodenia:", getHoroscope: "Získať horoskop", pleaseEnterBirthdate: "Zadajte platný dátum.", loading: "Načítava sa…" },
    sl: { enterBirthdate: "Vnesite svoj datum rojstva:", getHoroscope: "Pridobi horoskop", pleaseEnterBirthdate: "Vnesite veljaven datum.", loading: "Nalaganje…" },
    zh: { enterBirthdate: "请输入您的出生日期：", getHoroscope: "获取星座运势", pleaseEnterBirthdate: "请输入有效日期。", loading: "加载中…" }
};

export function ezhp_t(lang, key) {
    return EZHP_I18N[lang]?.[key] || EZHP_I18N['en'][key];
}

// RTL language codes
const RTL_LANGUAGES = ['ar', 'he', 'fa', 'ur'];

export function ezhp_isRTL(lang) {
    return RTL_LANGUAGES.includes(lang);
}