v1.4.7
Language Switch Bug Fix
Changes
🐛 Bug Fixes
- Language toggle URL fix
- Fixed a bug where switching to Korean from English leader detail pages (
/en/leaders/) navigated to a non-existent page - The English slug suffix
-en(e.g.05-lee-kiha-en) is now stripped to correctly resolve the Korean URL (/leaders/05-lee-kiha/) - Switching from Korean leader pages to English now also resolves the correct English URL
- Fixed a bug where switching to Korean from English leader detail pages (
♻️ Code Improvements
- Added
src/lib/i18n.tsutility: centralized slug transformation withtoKoSlug()/toEnSlug()- Replaced 4 scattered inline
.replace(/-en$/, '')calls across blog and leader pages
- Replaced 4 scattered inline
📝 Content
- Added current position for leader Kiha Lee: Adjunct Professor, IT Management, School of Business, Korea University of Technology and Education (KO/EN)