Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/datnong1210-arch/minna/archive/refs/heads/main.zipAhoMINNA - Japanese Learning Plugin for WordPress
A comprehensive WordPress plugin for teaching Japanese with Minna no Nihongo textbook (50 lessons) designed specifically for Vietnamese learners.
📚 Features
Learning Sections
- Vocabulary (Từ vựng): Interactive flashcard system with flip animations
- Grammar (Ngữ pháp): Structured grammar patterns with Vietnamese explanations
- Dialogue (Hội thoại): Conversation practice with audio and video support
- Quiz (Trắc nghiệm): Multiple-choice quizzes with instant feedback
Key Functionalities
- 🎴 Flashcard System: Learn and review mode with swipe/click navigation
- 🎵 Audio Support: Japanese pronunciation for vocabulary and dialogues
- 🎥 Video Integration: YouTube embed or direct video upload
- 📊 Progress Tracking: Save user progress for each lesson section
- 🎯 Quiz System: Track scores and review answers with explanations
- 📱 Responsive Design: Optimized for desktop, tablet, and mobile
- 🖥️ Fullscreen Mode: Presentation-ready with keyboard shortcuts
- 🌐 Bilingual: Japanese-Vietnamese interface
Admin Features
- Custom post types for lessons, vocabulary, grammar, dialogues, and quizzes
- Bulk import from CSV for vocabulary and quiz questions
- Visual dashboard with statistics
- Easy content management with custom meta boxes
- Settings page for plugin configuration
🚀 Installation
- Upload the
ahominnafolder to/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to AhoMINNA in the admin menu
- Start creating lessons!
📋 Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Modern web browser with JavaScript enabled
🎓 Usage
Creating Lessons
- Go to AhoMINNA > Add New Lesson
- Enter lesson title, number, and description
- Create vocabulary, grammar, dialogues, and quizzes
- Link them to the lesson using IDs
Bulk Import
- Go to AhoMINNA > Import
- Select import type (Vocabulary or Quiz)
- Choose CSV file with correct format
- Upload and import
Vocabulary CSV Format
kanji,hiragana,romaji,vietnamese,image_url,audio_url
学生,がくせい,gakusei,học sinh,https://example.com/image.jpg,https://example.com/audio.mp3
Quiz CSV Format
question,type,option_a,option_b,option_c,option_d,correct_index,explanation,audio_url
Question text,vocabulary,Option A,Option B,Option C,Option D,0,Explanation here,
Shortcodes
Display lessons on any page or post:
[ahominna_lessons]
Display a specific lesson:
[ahominna_lesson id="1"]
Display vocabulary flashcards:
[ahominna_vocabulary lesson="1"]
Display quiz:
[ahominna_quiz lesson="1"]
🎨 Customization
CSS Customization
Override styles by adding custom CSS in your theme:
.ahominna-lesson-container {
/* Your custom styles */
}
Color Scheme
Edit /public/css/style.css to change the color variables:
:root {
--primary-color: #e74c3c;
--secondary-color: #3498db;
--accent-color: #f39c12;
}
⌨️ Keyboard Shortcuts
Flashcard Mode
←Previous card→Next cardSpaceFlip card
Quiz Mode
←Previous question→Next questionEnterSubmit quiz
Fullscreen Mode
EscExit fullscreenShift + ←Previous sectionShift + →Next section
📱 Responsive Design
The plugin is fully responsive and optimized for:
- Desktop (1200px+)
- Tablet (768px - 1199px)
- Mobile (< 768px)
- Landscape mode
🔧 Technical Details
Custom Post Types
ahominna_lesson- Lessonsahominna_vocabulary- Vocabulary itemsahominna_grammar- Grammar patternsahominna_dialogue- Conversation dialoguesahominna_quiz- Quiz questions
Database Tables
{prefix}_ahominna_progress- User progress tracking{prefix}_ahominna_quiz_results- Quiz results
AJAX Actions
ahominna_save_progress- Save learning progressahominna_submit_quiz- Submit quiz answersahominna_get_vocabulary- Fetch vocabulary data
🌍 Internationalization
The plugin is translation-ready. Translation files are located in /languages/ directory.
Current languages:
- English (default)
- Vietnamese (vi)
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 License
This plugin is licensed under the GPL v2 or later.
👨💻 Author
DatNong
- GitHub: @datnong1210-arch
📞 Support
For support, please open an issue on the GitHub repository.
🎯 Roadmap
- [ ] Mobile app integration
- [ ] Additional quiz types (fill-in-the-blank, matching)
- [ ] Gamification features (badges, streaks)
- [ ] Social sharing
- [ ] Export progress reports
- [ ] Lesson completion certificates
📸 Screenshots
Screenshots will be available in the /assets/ directory.
⚡ Performance
- Lazy loading for images
- Optimized CSS and JavaScript
- Minimal database queries
- Caching support
🔒 Security
- CSRF protection with nonces
- Input sanitization and validation
- Prepared SQL statements
- Capability checks for admin functions
📚 Documentation
For detailed documentation, visit the Wiki.
Made with ❤️ for Japanese language learners in Vietnam