1.0.0-alpha.2 • Published 1 year ago

@jiotranslate/web-beta v1.0.0-alpha.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

What is JioTranslate for Web?

Web integration library of JioTranslate. This package makes it super simple to add i18n to your Web app!

Installation

npm install @jiotranslate/web-beta

Then use the library in your app:

Usage

First, create a JioTranslate instance and run it.

import { JioTranslate, DevTools, FormatSimple } from "@jiotranslate/web-beta";

const jt = JioTranslate()
  .use(DevTools())
  .use(FormatSimple())
  .init({
    apiKey: "your_api_key",
    apiUrl: "https://localization-platform.sit.translate.jio/",
  })

jt.run();

Then, use it to translate your strings.

jt.onLangLoaded.subscribe(() => {
  document.title = jt.translate("hello_world");
});

Why use JioTranslate?

It saves you a significant amount of time on localization tasks. It also ensures your software is perfectly translated.

Features

  • Comprehensive localization solution tailored for your JavaScript application 🙌
  • Seamless in-context localization right from the start 🎉

  • Translation management system 🎈