Skip to main content

sLang Documentation

Latest stable version Evolution CMS version requirement PHP 8.4, 8.5 and 8.6 License Open issues GitHub stars Total downloads Made in Ukraine

sLang is a multilingual management module for Evolution CMS. It helps manage translation phrases, frontend languages, multilingual resource tabs, URL language segments, automatic translation helpers, and locale-aware content APIs.

Screenshots​

Pages​

Features​

  • Automatic phrase translation through Google or custom translation providers.
  • Automatic translation lookup in templates.
  • Multilingual resource tabs.
  • Unlimited translation language support.
  • Multilingual SEO support.

Locale-aware content model​

  • Seiger\sLang\Models\sLangContent respects the current locale by default through evo()->getLocale().
  • Explicit locale selection is available through the lang() scope.
  • Template variables can be appended with withTVs().
  • langAndTvs() still works for existing code. Use lang() and withTVs() for new queries.