Translating your React app doesn’t need to be complex. With Globallybiz , you can translate your React app in 100+ languages within minutes. Follow our step by step guide and translate your React app in under 5 minutes.
Step 1: Configure your App
If you have not already created a Project in your Globallybiz account, create one.
Start by entering your website page URL
Next, choose the current language of your site and the languages you would like to have your website translated into.
Finally, customize the appearance and the position on the Language Switcher.
Now that the project is created, simply copy the Globallybiz Code (Click on the Copy Code button).
If you already have a project, get the Globallybiz code
Click on the “Project Settings” from the left menu/navigation.
Scroll all the way to the bottom to the Javascript Snippet section. Copy the Code (Click on the Copy Code button)
Step 2: Install the Globallybiz package
Install the Globallybiz package from NPM using the command below
npm install teral-translate-react a
Step 3: Usage
Import the Globallybiz component and use it as below
import Teral from 'teral-translate-react'
<Teral
apiKey="APIKEY"
sourceLanguage="SOURCELANGUAGE"
/>
You can get your APIKEY by signing up at https://app.globallybiz.com/signup
SOURCELANGUAGE is the 2 digit language code (ISO 639-1 Code) that your app is currently in. Learn more
If you have any questions simply email us at support@globallybiz.com
Using another Platform?
Globallybiz works with all Web technologies. Simply follow our general integration guide to get started.