パッケージの詳細

@tolgee/web

tolgee178.7kBSD-3-Clause6.2.4

Tolgee for web

localization, languages, internationalization, framework

readme

Tolgee JS
The monorepo containing JS integrations of Tolgee

Logo Tolgee is an open-source alternative to Crowdin, Phrase, or Lokalise with its very own revolutionary integrations. test workflow types typescript typescript licence github stars github stars Github discussions
Become part of the family. Join slack channel

This repository contains browser integration packages of the Tolgee Localization platform.

It provides the ability to easily manage localization texts directly in the context of a web application developed by you.

To learn more, visit https://tolgee.io

Packages

Package Version
@tolgee/core @tolgee/core version
@tolgee/web @tolgee/web version
@tolgee/react @tolgee/react version
@tolgee/ngx @tolgee/react version
@tolgee/vue @tolgee/vue version
@tolgee/svelte @tolgee/svelte version
@tolgee/i18next @tolgee/i18next version
@tolgee/format-icu @tolgee/format-icu version

Why to use Tolgee?

Because it saves a lot of time, you would spend on localization tasks without it. Because it enables you to provide perfectly translated software.

Features

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

Frame 47 Read more on the Tolgee website

Preview

react-infinite

To learn more, visit https://tolgee.io

Contributors

contributors

Launching Tolgee Rewards

Contributed to Tolgee? Here is a big thank you from our community to you. Claim your badge and showcase them with pride. Let us inspire more folks!

Tolgee Badges

Claim Now!


Let us know what you think! #feedbackwanted ❤️

更新履歴

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

6.2.4 (2025-03-19)

Bug Fixes

6.2.3 (2025-03-18)

Bug Fixes

  • translation not updating in cache when new translation added (#3442) (4eeed34), closes #3441

6.2.2 (2025-02-27)

Bug Fixes

  • prevent failing when response without body (#3437) (c9c313e)

6.2.1 (2025-02-25)

Bug Fixes

  • plural variable name change not generating screenshots correctly (#3438) (6e1aa92), closes #3419

6.2.0 (2025-02-25)

Features

  • correctly initialize plural from default value in in-context form (#3436) (6253348)

6.1.1 (2025-02-14)

Bug Fixes

6.1.0 (2025-02-13)

Features

6.0.1 (2025-01-20)

Bug Fixes

  • added standalone false to angular components/pipes (#3421) (50bda10)

6.0.0 (2025-01-08)

BREAKING CHANGES

    • cache now returning plain objects instead of maps
  • renamed and updated getRequiredRecords
  • onNsUpdate removed in favor of update event
  • useSuspense in rect TolgeeProvider is now off by default
  • TolgeeProvider for vue has now standardized API

5.33.2 (2024-12-18)

Bug Fixes

5.33.1 (2024-12-13)

Bug Fixes

5.33.0 (2024-12-13)

Features

5.32.0 (2024-11-21)

Features

5.31.5 (2024-11-18)

Bug Fixes

  • double chars unicode characters breaking placeholders (#3403) (58318c0)

5.31.4 (2024-11-12)

Bug Fixes

5.31.3 (2024-11-07)

Bug Fixes

5.31.2 (2024-11-05)

Bug Fixes

5.31.1 (2024-11-01)

Bug Fixes

5.31.0 (2024-11-01)

Features

  • ability to have fallbacks and timeouts with backend plugin (#3385) (2406876)

5.30.1 (2024-11-01)

Bug Fixes

5.30.0 (2024-10-30)

Features

5.29.5 (2024-10-15)

Bug Fixes

  • secret messages right next to each other (#3383) (136426e)

5.29.4 (2024-10-09)

Bug Fixes

5.29.3 (2024-10-07)

Bug Fixes

  • update svelte package and app (fcd1574)

5.29.2 (2024-10-07)

Bug Fixes

  • new window correct background when browser in dark mode (#3382) (62ce0eb)

5.29.1 (2024-09-23)

Bug Fixes

  • $t function to correctly render keys from loaded namespaces (#3376) (3073002)

5.29.0 (2024-09-23)

Features

  • Add SSR support and enhance Vue integration for Tolgee (#3367) (9c298aa)

5.28.7 (2024-09-20)

Bug Fixes

5.28.6 (2024-07-12)

Bug Fixes

5.28.5 (2024-07-04)

Bug Fixes

5.28.4 (2024-06-26)

Bug Fixes

  • prevent custom headers if the request is not going to tolgee platform (#3347) (1219aa5)

5.28.3 (2024-06-25)

Bug Fixes

  • handle tolgee instance update (on hot reload) (#3349) (038e407)

5.28.2 (2024-06-20)

Bug Fixes

  • vue $t update every time language or translation has changed (#3348) (c1ea134)

5.28.1 (2024-06-13)

Bug Fixes

5.28.0 (2024-06-03)

Features

5.27.1 (2024-06-01)

Bug Fixes

  • update slot translation when language changes (#3340) (33ca527)

5.27.0 (2024-05-30)

Features

5.26.0 (2024-05-07)

Features

  • Update Angular package dependencies and example app to Angular 17 (#3319) (72f11a7)

5.25.0 (2024-04-29)

Features

5.24.1 (2024-04-18)

Bug Fixes

5.24.0 (2024-04-15)

Features

5.23.3 (2024-04-11)

Bug Fixes

  • core backend undefined fallback not working (#3326) (0244269)

5.23.2 (2024-04-10)

Bug Fixes

5.23.1 (2024-04-09)

Bug Fixes

5.23.0 (2024-04-05)

Features

5.22.0 (2024-03-19)

Features

  • support for tags with attributes & tooltips in editor (#3321) (c4527a6)

5.21.0 (2024-03-14)

Features

5.20.3 (2024-03-12)

Bug Fixes

5.20.2 (2024-03-12)

Bug Fixes

5.20.1 (2024-03-07)

Bug Fixes

5.20.0 (2024-03-06)

Features

5.19.6 (2024-02-08)

Bug Fixes

  • adjust languages pagination to fetch all languages (#3311) (a8e4f34)

5.19.5 (2024-01-31)

Bug Fixes

5.19.4 (2024-01-31)

Bug Fixes

  • inject in-context-tools into head instead of body (#3303) (d05d587)

5.19.3 (2024-01-23)

Performance Improvements

5.19.2 (2024-01-18)

Bug Fixes

5.19.1 (2024-01-16)

Bug Fixes

  • stop failing when screenshot takes too long to take (#3298) (5680b9a), closes #3295

5.19.0 (2023-12-22)

Features

5.18.0 (2023-12-13)

Features

5.17.0 (2023-12-06)

Features

5.16.3 (2023-11-24)

Bug Fixes

5.16.2 (2023-11-13)

Bug Fixes

  • remove unused window check, as onMount only runs client side (#3279) (568e5e4)

5.16.1 (2023-11-13)

Bug Fixes

  • return TextEncoder polyfill as it's not JS standard (#3278) (d2423e1)

5.16.0 (2023-11-04)

Features

5.15.0 (2023-11-02)

Features

5.14.0 (2023-10-27)

Features

5.13.3 (2023-10-23)

Bug Fixes

5.13.2 (2023-10-20)

Bug Fixes

5.13.1 (2023-10-16)

Bug Fixes

  • i18next processor properly parse namespace if in the key (#3262) (6c4414e)

5.13.0 (2023-10-13)

Features

5.12.0 (2023-09-11)

Bug Fixes

Features

  • improve fallback and empty namespace treatment (#3243) (c8f31cb)

5.11.5 (2023-09-11)

Bug Fixes

5.11.4 (2023-08-31)

Bug Fixes

5.11.3 (2023-08-31)

Bug Fixes

5.11.2 (2023-08-31)

Bug Fixes

5.11.1 (2023-08-23)

Bug Fixes

  • improve packages compatibility + better testing (#3233) (2de9bac)

5.11.0 (2023-08-11)

Features

  • prepare for server components (and server-only rendering) (#3226) (358ed9c)

5.10.2 (2023-07-27)

Bug Fixes

5.10.1 (2023-07-12)

Bug Fixes

  • tolgee fetching data multiple times in devmode (#3221) (6cb113f)

5.10.0 (2023-07-12)

Features

5.9.12 (2023-07-03)

Note: Version bump only for package root

5.9.11 (2023-07-03)

Note: Version bump only for package root

5.9.10 (2023-07-03)

Note: Version bump only for package root

5.9.9 (2023-07-03)

Note: Version bump only for package root

5.9.8 (2023-07-03)

Note: Version bump only for package root

5.9.7 (2023-07-03)

Note: Version bump only for package root

5.9.6 (2023-07-03)

Note: Version bump only for package root

5.9.5 (2023-07-03)

Note: Version bump only for package root

5.9.4 (2023-07-03)

Note: Version bump only for package root

5.9.3 (2023-07-03)

Bug Fixes

5.9.2 (2023-07-03)

Bug Fixes

5.9.1 (2023-06-28)

Bug Fixes

5.9.0 (2023-06-20)

Features

5.8.7 (2023-06-05)

Bug Fixes

5.8.6 (2023-05-24)

Bug Fixes

  • rem font size leaking into in-context dialog (#3203) (6fe340e)

5.8.5 (2023-05-24)

Bug Fixes

5.8.4 (2023-05-16)

Bug Fixes

5.8.3 (2023-04-19)

Bug Fixes

  • move registry refresh out of the observer loop (#3199) (243da10)

5.8.2 (2023-04-14)

Note: Version bump only for package root

5.8.1 (2023-04-13)

Bug Fixes

5.8.0 (2023-04-12)

Features

5.7.3 (2023-04-11)

Bug Fixes

5.7.2 (2023-04-04)

Bug Fixes

  • allow manipulation of screenshots without other permissions (#3190) (97815f6)

5.7.1 (2023-04-03)

Bug Fixes

  • ngx translate pipe not refreshed when lang changed (#3189) (5381741)

5.7.0 (2023-04-03)

Features

5.6.1 (2023-03-29)

Bug Fixes

  • don't pass empty children to interpolated elements (#3187) (acedc77)

5.6.0 (2023-03-22)

Features

  • screenshots with labeled positions of keys (77c14c4)

5.5.4 (2023-03-20)

Bug Fixes

5.5.3 (2023-03-17)

Bug Fixes

  • i18next use default namespace if not specified (#3178) (a5148a5)

5.5.2 (2023-03-13)

Bug Fixes

  • don't show context menu when element contains same key twice & highliting with longer delay (#3175) (6884bba)

5.5.1 (2023-03-13)

Bug Fixes

  • vue - move t from onBeforeMount to setup function (#3174) (29c137f)

5.5.0 (2023-03-10)

Features

  • add useTolgeeSSR for compatibility with react 18 and next.js 13 (#3173) (6ee87db)

5.4.4 (2023-03-09)

Bug Fixes

5.4.3 (2023-03-04)

Bug Fixes

5.4.2 (2023-02-27)

Bug Fixes

5.4.1 (2023-02-24)

Bug Fixes

5.4.0 (2023-02-22)

Features

5.3.2 (2023-02-22)

Bug Fixes

5.3.1 (2023-02-20)

Bug Fixes

5.3.0 (2023-02-10)

Features

  • use type: module everywhere (05cf4b5)

5.2.1 (2023-02-07)

Bug Fixes

  • add default apiUrl + allown null namespace (#3151) (ce754a1)
  • highlighter not adjusting when target size changes (#3150) (25d92ac)

5.2.0 (2023-01-31)

Features

  • DevTools correctly ommitted at production (#3148) (5be6fd7)

5.1.0 (2023-01-27)

Features

5.0.2 (2023-01-25)

Bug Fixes

5.0.1 (2023-01-17)

Note: Version bump only for package root

5.0.0 (2023-01-11)

Note: Version bump only for package root

5.0.0-alpha.3 (2023-01-11)

  • feat!: Complete redesign, namespaces support, refactor (#3109) (1978b91), closes #3109

BREAKING CHANGES

  • Complete redesign, brand new API

5.0.0-alpha.2 (2023-01-09)

Note: Version bump only for package root

5.0.0-alpha.1 (2022-11-29)

Bug Fixes

  • xpath evaluate throws error when not executed on Element (#3123) (aa5b7f9)

4.9.3 (2022-10-18)

Bug Fixes

  • tolgee i18next export also tolgeeProcessor (a719911)

4.9.2 (2022-09-07)

Bug Fixes

  • don't fail on invalid locale code (5434d32)

4.9.1 (2022-09-05)

Bug Fixes

  • fetch only selected languages with limit (720bb85)

4.9.0 (2022-09-03)

Bug Fixes

Features

  • devtools to shadow dom to avoid css influence (7097b4a)

4.8.6 (2022-09-02)

Bug Fixes

  • improve UI dialog behavior when many languages (8e5495b)

4.8.5 (2022-08-30)

Bug Fixes

  • Svelte with auto/node adapter (Rename UI esm build to .mjs) (28329d3)

4.8.4 (2022-08-29)

Bug Fixes

4.8.3 (2022-08-27)

Bug Fixes

  • Svelte with auto/node adapter (Import UI only in browser) (8e1e6ef)

4.8.2 (2022-08-23)

Bug Fixes

  • sveltekit: Update SvelteKit to lastest version. (082a8e5)

4.8.1 (2022-08-23)

Note: Version bump only for package root

4.8.0 (2022-08-01)

Features

4.7.3 (2022-08-01)

Note: Version bump only for package root

4.7.2 (2022-07-04)

Bug Fixes

  • Core & UI > Add ./src to published package (bb2ab52)
  • Update svelte versions and fix named imports from @tolgee/core (5c84e47)

4.7.1 (2022-06-03)

Bug Fixes

  • loop of svelte getTranslate store (e7d73af)

Reverts

  • Revert "fix loop of svelte getTranslate store" (b591abe)

4.7.0 (2022-05-30)

Features

  • add support for react 18 (a5b60fb)

4.6.1 (2022-05-25)

Bug Fixes

  • Fix useTranslate types, react warnings, core observer edge case error (1295d36)

4.6.0 (2022-05-23)

Features

  • Add and embrace Vue composition API (acdd2a9)
  • Improve highlighter (334738a)
  • Improve highlighter - add rounded corners (2f27441)
  • Improve highlighter - fix tests and cleanup (6ea5d34)

4.5.0 (2022-04-19)

Features

  • Make mode option deprecated (7ecaf26)

4.4.0 (2022-03-29)

Features

  • permitted languages support (99c3b33)
  • permitted languages support - adapt to API change (f21550f)

4.3.0 (2022-03-29)

Features

  • ui is now included automatically (3fd8146)

4.2.1 (2022-03-14)

Bug Fixes

4.2.0 (2022-03-11)

Features

  • Quick parameters rename as naming is confusing (df62d9a)

4.1.1 (2022-03-10)

Bug Fixes

  • t function returning array (0136741)

4.1.0 (2022-03-10)

Features

  • Allow language detection and localStorage disable (b8e8f43)

4.0.0 (2022-03-10)

Features

  • Use invisible wrapping instead of span component (3848cda)

BREAKING CHANGES

  • default invisible mode, defaultValue

3.6.0 (2022-02-28)

Features

  • Derrive availableLanguages from staticData (009d615)

3.5.0 (2022-02-24)

Features

  • Add tags interpolation for react (10bf215)

3.4.0 (2022-02-21)

Features

  • UI popup stop closing on save (2f08494)

3.3.1 (2022-02-15)

Bug Fixes

  • UI translation lang property (bfc4f3a)

3.3.0 (2022-02-11)

Features

  • In-context translating on production TG-459 (2ab5c20)

3.2.0 (2022-02-04)

Features

  • Improve ssr (and next.js example) TG-497 (2d8e6d5)

3.1.5 (2022-02-02)

Bug Fixes

3.1.4 (2022-01-20)

Bug Fixes

  • React example app favicon TG-469 (997e561)
  • Use lerna in production pipelines TG-463 (180dd59)

3.1.3 (2022-01-13)

Note: Version bump only for package root

3.1.2 (2021-12-22)

Bug Fixes

  • Refactor tolgee-js API TG-455 (e5518ff)

3.1.1 (2021-12-22)

Bug Fixes

  • js sdk: Synchronous replacing TG-454 (77fa921)

3.1.0 (2021-12-22)

Features

  • Vue i18next example app TG-458 (1ae7c74)

3.0.2 (2021-12-20)

Bug Fixes

  • Refactor tolgee-ui context TG-422 (73384be)

3.0.1 (2021-12-18)

Bug Fixes

3.0.0 (2021-12-17)

Features

  • Experiment with i18next integration TG-430 (dc90766)

Performance Improvements

BREAKING CHANGES

  • Tolgee constructor private

2.8.2 (2021-12-15)

Bug Fixes

  • Tolgee ui - add link to tolgee app TG-377 (e45efdf)

2.8.1 (2021-12-07)

Bug Fixes

  • Removing attribute when mouseover node causes error TG-440 (dde937f)

2.8.0 (2021-11-25)

Bug Fixes

  • Fix core event capturing TG-419 (1b6efe8)

Features

  • Angular improvements & testapp TG-418 (02b8f49)
  • Angular improvements & testapp TG-418 (56be3a9)
  • Angular improvements & testapp TG-418 (e5b58f2)
  • Angular improvements & testapp TG-418 (b1a8c3f)

2.7.0 (2021-11-23)

Bug Fixes

  • js: Dependabot automerge TG-416 (7a05b3b)
  • js: Fix readmes TG-415 (856539f)

Features

  • js sdk: Allow dynamic import of UI TG-378 (69c7bf2)

2.6.0 (2021-11-16)

Bug Fixes

  • Throw nicer error when using T outside provider (8f5594b)

Features

  • vue app sync with documentation (a9efcaa)

2.5.3 (2021-11-16)

Bug Fixes

2.5.2 (2021-11-16)

Bug Fixes

  • Fix core exported types (remove @types/react deps) TG-360 (5847519)

2.5.1 (2021-11-11)

Bug Fixes

  • Svelte integration TG-380 - fix document not defined error (ffabdf8)

2.5.0 (2021-11-11)

Features

  • Vue: add defaultValue prop (b6bb5f6)

2.4.1 (2021-11-10)

Bug Fixes

  • Svelte integration TG-380 - Fix missing document in svelteKit v192 (218e3d0)

2.4.0 (2021-11-09)

Features

  • Svelte integration TG-380 (9e56290)

2.3.2 (2021-11-08)

Note: Version bump only for package root

2.3.1 (2021-11-08)

Bug Fixes

  • Remove unnecessary check (8f8d4bf)

2.3.0 (2021-11-04)

Features

  • Vue.js Integration TG-371 (3486110)

2.2.0 (2021-11-02)

Features

  • translate method support orEmpty option (304687a)

2.1.2 (2021-10-27)

Bug Fixes

  • Fix cannot clear translations dialog TG-379 (19a6a9c)

2.1.1 (2021-10-26)

Bug Fixes

  • Tolgee translate fn params type is not optional (2dbfde2)

2.1.0 (2021-10-26)

Features

  • Set base language input to default value TG-368 (5f66114)

2.0.1 (2021-10-21)

Bug Fixes

  • Chrome extension reload after install TG-370 (ac977e6)

2.0.0 (2021-10-20)

Bug Fixes

  • Remove ignoreTag setting TG-369 (1562403)

BREAKING CHANGES

  • HTML is currently not ignored by Core Message Formatter and React T component and Angular t attribute will not render HTML to DOM.

1.9.0 (2021-10-19)

Features

  • Add prompt to install chrome extension TG-366 (3cc8482)

1.8.4 (2021-10-19)

Bug Fixes

  • Error when translation is null from API TG-367 (205983b)

1.8.3 (2021-10-15)

Note: Version bump only for package root

1.8.2 (2021-10-15)

Note: Version bump only for package root

1.8.1 (2021-10-14)

Bug Fixes

  • Dependencies add tests TG-324 (5189e51)

1.8.0 (2021-10-13)

Features

  • Improve tolgee library UI TG-300 (eee7a86)
  • Improve tolgee library UI TG-300 (7854930)
  • Try integrating jss into tolgee-js TG-300 (813cd36)

1.7.6 (2021-10-13)

Bug Fixes

  • js sdk: Fix package.json licences TG-355 (008f2de)

1.7.5 (2021-10-13)

Bug Fixes

  • react sdk: sets state while rendering TG-344 (c06f606)

1.7.4 (2021-10-06)

Note: Version bump only for package root

1.7.3 (2021-10-06)

Note: Version bump only for package root

1.7.2 (2021-10-05)

Note: Version bump only for package root

1.7.1 (2021-10-05)

Note: Version bump only for package root

1.7.0 (2021-10-04)

Features

  • Add method to change translation for screenshot taking (#496) (40ddbe9)

1.6.1 (2021-09-30)

Bug Fixes

  • js sdk: Dialog position fixed TG-320 (#452) (c065951)

1.6.0 (2021-09-30)

Features

  • js sdk: Remove key structuring TG-333 (#451) (710b148)

1.5.1 (2021-09-30)

Bug Fixes

1.5.0 (2021-09-30)

Features

  • Enable default value providing TG-335 (#445) (cc0d838)

1.4.0 (2021-09-20)

Features

  • Chrome plugin for screenshot generation TG-281 (70fb2ae)

1.3.0 (2021-09-15)

Features

  • js sdk: Allow element wrapping & test TG-280 (#435) (f47c3ed)

1.2.4 (2021-09-15)

Bug Fixes

  • sdk: fix default tagAttributes property TG-288 (#436) (db19266)

1.2.3 (2021-09-15)

Bug Fixes

  • js sdk: Fix angular commonJs warnings TG-276 (#437) (84eadc0)

1.2.2 (2021-09-10)

Note: Version bump only for package root

1.2.1 (2021-09-10)

Bug Fixes

  • js sdk: Improve SSR stability TG-275 (#429) (220f6ed)

1.2.0 (2021-09-08)

Features

1.1.1 (2021-09-07)

Bug Fixes

1.1.0 (2021-09-07)

Features

1.0.0-alpha.60 (2021-09-03)

Features

1.0.0-alpha.59 (2021-08-31)

Note: Version bump only for package root

1.0.0-alpha.58 (2021-08-31)

Note: Version bump only for package root

1.0.0-alpha.57 (2021-08-13)

Note: Version bump only for package root

1.0.0-alpha.56 (2021-08-05)

Note: Version bump only for package root

1.0.0-alpha.55 (2021-07-30)

Bug Fixes

  • Add node locking TG-215 (ec1e344)

1.0.0-alpha.54 (2021-07-29)

Bug Fixes

  • deps: AbstractHandler is handling single text node twice TG-206 (66c32ba)

1.0.0-alpha.53 (2021-07-29)

Bug Fixes

  • core: AbstractHandler is handling single text node twice TG-206 (9da2bbd)

1.0.0-alpha.52 (2021-07-13)

Bug Fixes

  • sockets: Fix missing dist (9d903c6)

1.0.0-alpha.51 (2021-07-13)

Bug Fixes

  • sockets: Publish proper files, fix main (c2c131c)

1.0.0-alpha.50 (2021-07-13)

Bug Fixes

  • sockets: Publish proper files (be8181b)

1.0.0-alpha.49 (2021-07-13)

Bug Fixes

  • sockets: Add transports configuration option (2d77f8e)

1.0.0-alpha.48 (2021-07-13)

Bug Fixes

  • sockets: Restrict transport to websockets, fix default url (44b8e68)

1.0.0-alpha.47 (2021-07-12)

Features

  • sockets: Socket.io preview (64d61a5)

1.0.0-alpha.46 (2021-07-12)

Note: Version bump only for package root

1.0.0-alpha.45 (2021-04-28)

Note: Version bump only for package root

1.0.0-alpha.44 (2021-04-01)

Bug Fixes

  • lerna automatic answer "--yes" on "lerna version" (52c3f66)

1.0.0-alpha.43 (2021-03-26)

Note: Version bump only for package root