Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tolgee/core

Package Overview
Dependencies
Maintainers
2
Versions
354
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tolgee/core

Library providing ability to translate messages directly in context of developed application.

  • 3.4.0-rc.335d537.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34K
decreased by-5.17%
Maintainers
2
Weekly downloads
 
Created
Source

Tolgee core library

test workflow @tolgee/core version types typescript twitter github stars

Tolgee

Core library of Tolgee localization toolkit. For more information about Tolgee Toolkit, visit our documentation website toolkit.tolgee.io.

Installation

npm install @tolgee/core --save

Usage

First, create a Tolgee instance and run it.

import {Tolgee} from "@tolgee/core";

const tg = Tolgee.init({
    apiKey: "your_api_key",
    apiUrl: "https://app.tolgee.io",
})

tg.run();

Then, use it to translate your strings.

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

Features

  • All in One localization solution for your JS application 🙌
  • Out of box in-context localization 🎉
  • Automated screenshot generation 📷
  • Translation management platform 🎈
  • Open-source 🔥

To learn more, check Hello World example.

Keywords

FAQs

Package last updated on 18 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc