Levelswitch

  • Users add their domain and API
  • Connects to plugin
  • On WP users define levels – limit number of levels by subscription tier. Checkbox to set define base content ands set which one will be the default
  • click to edit level variations – directs user to site
  • User defines their base content is in which level. They can scan using AI to detect

PHASE ONE

  • bACKEND WITH NODE.JS
  • user logs in
  • defines two or three levels. sets one as base content
  • user defines default level
  • have a field for users to key in raw html content and save
  • Build a library that identifies text nodes in the HTML.
  • Create a hashing system for strings so you don’t translate the same sentence twice.

PLUGIN

Capture content to send for rephrasin

  • Hooks into WordPress pages, posts, menus, widgets, and dynamic content.
  • Extracts the text users see (not just raw post content).
  • Sends it securely to my servers via a API key.

Receive and serve translated content

  • Fetches rephrased HTML from my server.
  • Injects it server-side before the page reaches the visitor.
  • Ensures rephrased content appear seamlessly at URLs like /rephrased/.

Handle language routing

  • Detects the user’s selected rephrase mode(via URL or switcher).
  • Requests the correct rephrased content from the server.
  • Handles redirects and mode-specific URLs for SEO.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *