Translating websites doesn't have to be complicated. Explore Simple Translator and learn how to get started in minutes.

Welcome! You are on the official documentation for Simple Translator, a JavaScript library that helps you translate your websites with ease.

With Simple Translator, you can:

  • Translate single strings
  • Translate entire HTML pages
  • Easily fetch JSON resource files (containing your translations)
  • Make use of global helper functions for a better developer experience
  • Detect the user's preferred language automatically
  • Use fallback languages

Simple Translator is a very lightweight (~10 KB minified) JavaScript library available on NPM and works natively in the browser and Node.js.

From here, you can read the quickstart guide to get started quickly or dive into the more advanced tutorial.