Instrumenting your code
Last updated
Last updated
Zero effort - drop one line of code.
Using our locizify script is the simplest way to get your website or webapplication translated. We highly recommend using it on your static site generators like wordpress, shopify, ...
Drop one line of code:
You can find your projectId and API Key in your projects settings. (You should not expose your write API key into production - only use it during development)
Reload your page and see the phrases ready to translate in your locize project.
Find more details and configuration options on the github page.
Best translation management for i18next.
You can use locize in combination with i18next. I18next is a well known internationalization framework and offers a wide range of framework integrations and plugins for almost every need.
To connect i18next with the locize service integrate the i18next-locize-backend:
(You should not expose your write API key into production - only use it during development)
Here you can find a step by step react tutorial.
Are you still using i18next in jQuery? Check out this tutorial blog post.
Are you using Remix? Here you can find a simple example and a step by step tutorial.
Are you using Vue.js? Here you can find a simple example and a step by step tutorial.
On client side, you can use our locizer script to load translations from locize and add them to your i18n framework in the browser:
Sample for polyglot:
Sample for vue-i18n (Vue v3):
The full example can be found here.
For more details checkout locizer docs.
Our samples:
react-intl-namespaces Integrations of react-intl internationalization library with locize.com online translation service. Comes with support for namespaces, incontext editor, ...
For JavaScript environments please watch out for the i18next integration options and plugins.
On other environments you could use:
You can use following modules to convert between formats:
Simplest is to use those in combination with our cli to build an automated production pipeline powered by grunt, gulp, npm script, ...
Here you'll find a simple tutorial on how to best use react-i18next. Some basics of i18next and some cool possibilities on how to optimize your localization workflow.
Here you'll find a simple Angular tutorial on how to best use angular-i18next.
Using Next.js 13/14 with the new app directory? Then this article is what you are looking for.
Here you'll find a simple tutorial on how to best use vue-i18n. Some basics of vue-i18n and some cool possibilities on how to optimize your localization workflow.
Did you know internationalization is also important on your app's backend? In this tutorial blog post you can check out how this works.