Skip to main content

The runtime SDKs

transglot ships runtime packages for the major frontend frameworks, so reading translations from the CDN is a few lines rather than a project.

transglot ships runtime packages for the major frontend frameworks, so reading translations from the CDN is a few lines rather than a project.

Who this is for

Developers.

What happens next

There is a framework-agnostic runtime, plus bindings for React, Vue, Svelte, SolidJS, Angular, Next.js and SvelteKit. There is also a React package that fits the conventions of the react-i18next ecosystem, for teams already using it.

They all do the same job: fetch the published bundle for a locale from the CDN, keep it, and give your components a way to look a string up. What differs is the idiom: hooks in React, a plugin in Vue, a store in Svelte, and server-side rendering support in the Next.js and SvelteKit packages.

If your stack is not on that list, the CDN is a plain HTTP request returning your translations in the format you published them in. The packages are a convenience, not the interface.

Related

  • Connect your app to the CDN

  • The CDN

  • The public API

Did this answer your question?