With the rapid advancement of mobile technology, e-learning has expanded significantly, making language learning more accessible than ever. At the same time, the rise of artificial intelligence (AI) technologies has opened new avenues for adaptive and personalized e-learning experiences. However, traditional e-learning methods remain limited by their reliance on static, predefined materials, which restricts equitable access to learning resources and fails to fully support lifelong learning. To address this limitation, this study proposes a location-based AI-driven e-learning system that dynamically generates language learning materials tailored to real-world contexts by integrating location-awareness technology with AI. This approach enables learners to acquire language skills that are directly applicable to their physical surroundings, thereby enhancing engagement, comprehension, and retention. Both objective evaluation and user surveys confirm the reliability and effectiveness of AI-generated language learning materials. Specifically, user surveys indicate that the generated content achieves a content relevance score of 8.4/10, an accuracy score of 8.8/10, a motivation score of 7.9/10, and a learning efficiency score of 7.8/10. Our method can reduce reliance on predefined content, allowing learners to access location-relevant learning resources anytime and anywhere, thereby improving accessibility and fostering lifelong learning in the context of sustainable education.