Instant Language SwitcherDocumentation
⌕
v0.20.0

Plugin File Architecture

High-level code organization for developers.

The plugin uses a namespaced class structure under IST\\.

instant-language-switcher/
├── admin/
│   ├── assets/
│   └── views/
├── frontend/
│   └── assets/
├── includes/
│   ├── Core/
│   ├── Database/
│   ├── Diagnostics/
│   ├── Frontend/
│   ├── Languages/
│   ├── REST/
│   ├── Routing/
│   ├── Scanner/
│   ├── SEO/
│   └── Translation/
├── instant-language-switcher.php
├── readme.txt
└── uninstall.php

Important classes

  • IST\\Core\\Plugin — application bootstrap, admin actions, workers and page registration
  • IST\\Database\\Installer — schema creation/upgrades
  • IST\\Scanner\\PageScanner — page/post/builder/shortcode scanning
  • IST\\Scanner\\RenderedSiteScanner — automatic full-site rendered discovery
  • IST\\Scanner\\SiteScanner — global strings
  • IST\\Routing\\LanguageRouter — multilingual URLs and resolution
  • IST\\Frontend\\ServerRenderer — server-side translation application
  • IST\\Translation\\QueueProcessor — automatic translation batching
  • IST\\Translation\\DeepLProvider / GoogleProvider — direct APIs
  • IST\\Translation\\QualityGate — structural publication checks
  • IST\\Diagnostics\\Logger — diagnostic events and redaction
  • IST\\SEO\\SeoManager — multilingual SEO integration

Autoloading

The plugin registers a lightweight PSR-4-like autoloader mapping the IST\\ namespace to includes/.