// Translations for KidsAI Explorer
const translations = {
    en: {
        // Header
        title: "KidsAI Explorer",
        tagline: "Think, Learn, Discover Together!",
        
        // Welcome
        "welcome-title": "Hi there, young explorer! 🚀",
        "welcome-text": "I'm here to help you become a super smart problem solver! Instead of giving you answers, I'll help you think like a detective and find solutions yourself!",
        
        // Question section
        "question-label": "What would you like to explore today?",
        "question-placeholder": "Ask me anything! Like 'Why is the sky blue?' or 'How do plants grow?'",
        "ask-button": "Let's Explore!",
        
        // Thinking section
        "thinking-title": "Let's Think Step by Step!",
        "research-btn": "Research Ideas",
        "experiment-btn": "Try Experiments",
        "discuss-btn": "Discuss with Others",
        
        // Suggestions
        "suggestions-title": "Popular Questions from Other Young Explorers",
        "suggestion-seasons": "Why do we have different seasons?",
        "suggestion-birds": "How do birds fly?",
        "suggestion-water": "Why is water wet?",
        "suggestion-computers": "How do computers work?",
        "suggestion-dreams": "Why do we dream?",
        "suggestion-rainbows": "How do rainbows form?",
        
        // Footer
        "footer-message": "Remember: The best learning happens when you think for yourself! 🌟",
        "safety-note": "Always ask a grown-up before researching online!",
        "loading-text": "Thinking of the best way to help you explore...",
        
        // Dynamic content
        encouragements: [
            "Great question! You're thinking like a real scientist! 🔬",
            "Wow, that's a fantastic thing to wonder about! 🌟",
            "I love how curious you are! That's how great discoveries happen! 🚀",
            "Excellent question! You're going to learn so much by exploring this! 📚",
            "That's the kind of question that leads to amazing discoveries! 🔍"
        ],
        
        // Chat messages
        "detective-help": "Instead of giving you the answer right away, I'll help you think through this like a detective! 🕵️",
        "default-encouragement": "Great question! Let's explore this together step by step! 🚀",
        
        // Fallback questions for local guidance
        "fallback-question-1": "What do you already know about this topic?",
        "fallback-question-2": "What do you think might be the reason for this?",
        "fallback-question-3": "Where could you look to find more information?",
        "fallback-question-4": "Can you think of any examples or similar situations?",
        
        // Error and warning messages
        "ask-something-first": "Please ask me something first! 🤔",
        "processing-trouble": "Sorry, I had trouble processing your question. Let me give you some thinking guidance instead!",
        "write-thoughts": "Please write down your thoughts! 🤔",
        
        // Answer reveal section
        "the-answer": "The Answer:",
        "awesome-how-close": "Awesome! How close were your thoughts to the answer?",
        "cant-fetch-answer": "I can't fetch the answer right now. That's a great question! You've done great thinking already. Feel free to ask an adult or look it up in a book.",
        "reveal-answer": "Reveal Answer!",
        "getting-answer": "Getting Answer...",
        "great-thinking": "Great thinking! You've explored this question step by step!",
        "see-how-close": "Would you like to see how close your thoughts were to the scientific explanation?",
        "ai-teacher": "AI Teacher",
        "scientific-explanation": "Scientific Explanation",
        "type-thoughts-placeholder": "Type your thoughts here...",
        "send-button": "Send",
        "great-thinking-fallback": "🌟 Great thinking! Keep exploring - every thought helps us learn!",
        "thinking-about-answer": "🤔 Thinking about your answer...",
        "hmm": "Hmm...",
        "tell-me-more": "Tell me more! 🤔",
        "next-question": "Next question! ➡️",
        "explore-deeper": "I want to explore this deeper",
        "continue-learning": "Continue with next topic",
        
        actionTitles: {
            research: "🔍 Research Ideas",
            experiment: "🧪 Experiment Ideas",
            discuss: "💬 Discussion Ideas"
        },
        
        thinkingFrameworks: {
            science: {
                steps: [
                    {
                        title: "🔍 What do you already know?",
                        content: "Think about what you've already observed or learned about this topic. What have you noticed before?"
                    },
                    {
                        title: "🤔 What makes you curious?",
                        content: "What specific part of this question makes you wonder the most? Is there something that seems surprising or unusual?"
                    },
                    {
                        title: "🧪 How could you explore this?",
                        content: "What experiments or observations could you do to learn more? Think about safe ways to test your ideas!"
                    },
                    {
                        title: "📚 Where could you find more information?",
                        content: "What books, websites (with a grown-up), or experts could help you learn more about this topic?"
                    }
                ]
            },
            math: {
                steps: [
                    {
                        title: "📝 What information do you have?",
                        content: "List out all the numbers and facts you know about this problem. What are you trying to find out?"
                    },
                    {
                        title: "🎯 What's the goal?",
                        content: "What exactly are you trying to calculate or figure out? Can you say it in your own words?"
                    },
                    {
                        title: "🧮 What tools might help?",
                        content: "Would drawing a picture, making a chart, or using objects to count help you understand this better?"
                    },
                    {
                        title: "✅ How can you check your answer?",
                        content: "What's a different way you could solve this to make sure your answer makes sense?"
                    }
                ]
            },
            technology: {
                steps: [
                    {
                        title: "🔧 What does this technology do?",
                        content: "Think about what job this technology is designed to do. What problem does it solve for people?"
                    },
                    {
                        title: "⚙️ What are the main parts?",
                        content: "Can you identify the different pieces that work together? What does each part do?"
                    },
                    {
                        title: "🔄 How do the parts work together?",
                        content: "Think about how information or signals move through the system. What happens step by step?"
                    },
                    {
                        title: "🌟 What makes it special?",
                        content: "How is this different from older ways of doing the same thing? What makes it better or more efficient?"
                    }
                ]
            },
            general: {
                steps: [
                    {
                        title: "🎯 Let's break this down",
                        content: "What's the main thing you want to understand? Can you split your big question into smaller questions?"
                    },
                    {
                        title: "🧠 What do you think might happen?",
                        content: "Based on what you already know, what's your best guess about the answer? It's okay if you're not sure!"
                    },
                    {
                        title: "🔍 How can you find out more?",
                        content: "What steps could you take to explore this question? Think about observing, researching, or asking experts."
                    },
                    {
                        title: "💡 What would you do with this knowledge?",
                        content: "How might understanding this help you or others? Why is this question important to you?"
                    }
                ]
            }
        },
        
        actionReminder: "Remember: The goal is to discover the answer yourself through exploration and thinking!"
    },
    
    de: {
        // Header
        title: "KidsAI Explorer",
        tagline: "Denken, Lernen und Entdecken!",
        "purpose-message": "Denke daran: Lernen ist am besten, wenn du selbst nachdenkst!",

        // Welcome section
        "welcome-title": "Hallo, junger Entdecker! 🚀",
        "welcome-text": "Willkommen! Ich bin hier, um dir zu helfen, die Welt zu erforschen und zu verstehen. Lass uns gemeinsam nachdenken und Schritt für Schritt Antworten finden!",

        // Question section
        "question-label": "Worüber möchtest du heute etwas lernen?",
        "question-placeholder": "Stelle mir eine Frage! Zum Beispiel: 'Warum ist der Himmel blau?' oder 'Wie wachsen Pflanzen?'",
        "ask-button": "Erforschung starten!",

        // Thinking section
        "thinking-title": "Lass uns das zusammen durchdenken!",
        "research-btn": "Ideen erkunden",
        "experiment-btn": "Experimente ausprobieren",
        "discuss-btn": "Darüber sprechen",

        // Suggestions
        "suggestions-title": "Fragen von anderen neugierigen Kindern",
        "suggestion-seasons": "Warum gibt es Jahreszeiten?",
        "suggestion-birds": "Wie bleiben Vögel in der Luft?",
        "suggestion-water": "Warum fühlt sich Wasser nass an?",
        "suggestion-computers": "Wie funktionieren Computer?",
        "suggestion-dreams": "Warum träumen Menschen?",
        "suggestion-rainbows": "Wie entstehen Regenbögen?",

        // Footer
        "footer-message": "Wirklich verstehen kannst du nur, was du selbst durchdacht hast.",
        "safety-note": "Frage immer einen Erwachsenen, bevor du online recherchierst!",
        "loading-text": "Ich überlege, wie ich dir am besten helfen kann...",
        
        // Dynamic content
        encouragements: [
            "Großartige Frage! Du denkst wie ein echter Wissenschaftler! 🔬",
            "Wow, das ist eine fantastische Sache, über die man nachdenken kann! 🌟",
            "Ich liebe es, wie neugierig du bist! So entstehen große Entdeckungen! 🚀",
            "Ausgezeichnete Frage! Du wirst so viel lernen, wenn du das erforschst! 📚",
            "Das ist die Art von Frage, die zu erstaunlichen Entdeckungen führt! 🔍"
        ],
        
        // Chat messages
        "detective-help": "Anstatt dir die Antwort sofort zu geben, helfe ich dir, wie ein Detektiv zu denken! 🕵️",
        "default-encouragement": "Großartige Frage! Lass uns das gemeinsam Schritt für Schritt erforschen! 🚀",
        
        // Answer reveal section
        "the-answer": "Die Antwort:",
        "awesome-how-close": "Fantastisch! Wie nah warst du mit deinen Gedanken an der Antwort?",
        "cant-fetch-answer": "Ich kann die Antwort gerade nicht abrufen. Das ist eine großartige Frage! Du hast schon toll nachgedacht. Du kannst gerne einen Erwachsenen fragen oder in einem Buch nachschauen.",
        "reveal-answer": "Antwort zeigen!",
        "getting-answer": "Hole Antwort...",
        "great-thinking": "Großartiges Denken! Du hast diese Frage Schritt für Schritt erforscht!",
        "see-how-close": "Möchtest du sehen, wie nah deine Gedanken an der wissenschaftlichen Erklärung waren?",
        "ai-teacher": "KI-Lehrer",
        "scientific-explanation": "Wissenschaftliche Erklärung",
        "type-thoughts-placeholder": "Schreibe hier deine Gedanken...",
        "send-button": "Senden",
        "great-thinking-fallback": "🌟 Großartiges Denken! Bleib neugierig - jeder Gedanke hilft uns beim Lernen!",
        "thinking-about-answer": "🤔 Ich denke über deine Antwort nach...",
        "hmm": "Hmm...",
        "tell-me-more": "Erzähl mir mehr! 🤔",
        "next-question": "Nächste Frage! ➡️",
        "explore-deeper": "Ich möchte das tiefer erforschen",
        "continue-learning": "Mit dem nächsten Thema weitermachen",
        
        actionTitles: {
            research: "🔍 Forschungsideen",
            experiment: "🧪 Experimentierideen",
            discuss: "💬 Gesprächsideen"
        },
        
        actionReminder: "Denk daran: Das Ziel ist, die Antwort selbst durch Forschen und Nachdenken zu entdecken!"
    }
};

// Export for use in other files
if (typeof module !== 'undefined' && module.exports) {
    module.exports = translations;
}
