Skip to content
Menu
Learning Lessons Today
Learning Something New Everyday!
Home
Learn English
English Lessons
Services
Close Menu
📝
Introduction to Verb “To Be”
Mode 1 • Simple Present
🎧
Mode 2 Listen & Speak
Continuous Tense • Practice
Pages
About Your Business
Business Showcase
Consonants 1
Consonants 1 Copy
English Lessons
Feature Websites
Flashing Cards – Simple To Be 1 for testing
Fruits Flashcards 1 – for testing
Gallery
Home Page
Home Page 1
html – for image header customize
Is This You?
Learning English Today
Learning English Today – Members Login
Learning English Today -Sample Lessons
Learning Lessons Today
Membership – Password Reset
Membership Profile
Mode 1 – Flash Cards 1 – for testing
Mode 1 – Flash Cards 2 – working very good
Mode 1 – Matching Tense – PPF Sentences
Model Page to duplicate
Money Matters
My Creation Page
Numbers 1
Numbers 2
Page 1 to work
Page 2 for fetching Images
Page 2 to work
Page 3 to work
Page 4 to work
Page 5 to work on
Page 6 to work on
Page for fetching Images
Pages
Password Reset
Profile
Questions and Answers – To Be – PPF Continuous – GOOD
Resizing Images
Sample – Consonants Lesson
Sample – PPF To Be MC – Listen
Sample – PPF To Be MC – Listen Copy
Sample – Vowels Lesson
Services
Sorting Content Page
Sorting Content Page Copy
Sorting Content Page Just PPF
Spanish – English – To Be – PPF 3X
Test 1 Page
Thank You
Thank You
To Be – Flash Cards – Spanish – English
Vowels 1
What Are These? Images – Fruit Voc. Speak
(function () { const extractTextLines = html => { const temp = document.createElement('div'); temp.innerHTML = html; return temp.innerHTML.split('
').map(line => line.replace(/<[^>]*>?/gm, '').trim() ); }; const translateLine = async (line, lang) => { if (lang === 'en') return line; const url = `https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=${lang}&dt=t&q=${encodeURIComponent(line)}`; const res = await fetch(url); const data = await res.json(); return data[0].map(d => d[0]).join(' '); }; const renderText = async (id, lang) => { const template = document.getElementById('template-' + id); const container = document.getElementById('original-text-' + id); if (!template || !container) return; const html = template.innerHTML; const lines = extractTextLines(html); const translatedLines = []; for (let line of lines) { if (!line.trim()) { translatedLines.push(''); } else { const translated = await translateLine(line, lang); translatedLines.push(translated); } } container.innerHTML = ''; const block = document.createElement('p'); block.innerHTML = translatedLines.join('
'); container.appendChild(block); }; document.addEventListener('DOMContentLoaded', function () { const blocks = document.querySelectorAll('.translator'); blocks.forEach(block => { const id = block.dataset.id; const select = document.getElementById('language-select-' + id); const container = document.getElementById('original-text-' + id); const template = document.getElementById('template-' + id); if (!select || !container || !template) return; // Load default (English) text renderText(id, 'en'); // Update on language change select.addEventListener('change', function () { renderText(id, this.value); }); }); }); })();