// Force update placeholder for KidsAI console.log('🔧 Force updating placeholder...'); // Check if kidsAI is available if (typeof window.kidsAI !== 'undefined') { console.log('✅ KidsAI instance found'); window.kidsAI.debugTranslatePlaceholder(); } else { console.log('❌ KidsAI instance not found, trying manual approach...'); // Manual approach const input = document.getElementById('question-input'); if (input && typeof translations !== 'undefined') { const currentLang = localStorage.getItem('kidsai-language') || 'en'; console.log('Current language:', currentLang); if (translations[currentLang] && translations[currentLang]['question-placeholder']) { input.placeholder = translations[currentLang]['question-placeholder']; console.log('✅ Manually updated placeholder to:', translations[currentLang]['question-placeholder']); } else { console.log('❌ Translation not found'); } } else { console.log('❌ Input element or translations not found'); } }