i18next makes it incredibly easy to localize your app into the languages of your users. But it doesn't help with generating the actual translations. Most developers outsource this work, but with the rapid progression of AI, you have another option. LLMs are great at processing text, and specially-curated neural models, like DeepL, have taken AI translations to the next level. Read below to learn how to take advantage of these advances in translating your app with i18next.
In today's globalized world, providing your app in multiple languages is essential. Using i18next JSON files makes this process more manageable. If you haven't created an i18next JSON file yet, start with this guide.
Once you have your i18next JSON file ready, follow these steps to automatically translate it using i18nowAI.
Step 1: Create an Account at i18nowAI
First, head over to www.i18now.ai and create an account by clicking the button in the top-right corner. This platform leverages DeepL, the world's most accurate and nuanced AI translation engine, which outperforms Google Translate in delivering high-quality translations.
Step 2: Follow the Tutorial Flow
After creating your account, follow the steps on the tutorial flow presented on the screen. Here’s a quick guide to help you:
- Click on the "Upload JSON" button
- Select the language of your JSON (this should be the native language of your app)
- Either paste in or upload your source JSON
- Click "Save", and that's it!
Step 3: Create a Translation
- Initiate the Translation: Click on "Create a translation".
- Enter the Language Names: A prompt will appear to enter the names of the languages you want to translate to. You can add as many languages as you need.
- Manage Your Translation Quota: If the characters included for free aren't sufficient, purchase additional characters as needed.
- Start Your Translations: After selecting your languages and managing your quota, click "Submit".
There are more than 30 languages available for translation on i18nowAI, including:
Arabic Bulgarian Chinese Czech Danish Dutch English Estonian Finnish French German Greek Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Turkish Ukrainian
Step 4: Wait for Completion
You'll be redirected to the homescreen where you will be notified once the translations are finished. This process might take a few minutes depending on the size of your file and the number of languages selected. Once the translations are completed, you'll be able to download the JSON files to import to your app.
Step 5: Download and Integrate Translations
- Download Translated Files: On the homescreen, once notified, click the Download button for each translated file.
- Integrate Translations into Your App: Drag and drop these files into your app’s localization directory.
- Configure i18next: Ensure your app’s configuration points to these new JSON files for the respective languages.
And that's it! You’ve successfully translated your i18next JSON files into multiple languages using i18nowAI.
Benefits of Using i18nowAI
- Accuracy and Nuance: Leveraging DeepL, i18nowAI provides more accurate and nuanced translations than other free translation tools like Google Translate.
- Ease of Use: The process is streamlined and user-friendly, making it easy for developers of all levels to use.
- Scalability: Whether you need one language or a dozen, i18nowAI can handle your needs effortlessly.
- Easily Sync Changes: When you make changes to your app's JSON, you can upload the new version, and i18nowAI will provide you with the option to re-translate only the text that changed.
- No Subscription Required: Pay only for what you use, and don't worry about recurring charges. i18nowAI tracks usage by the character.
- No Cloud Hosting Needed: Translated JSON files belong to you. There's no complicated cloud hosting that you need to figure out.
By following these steps, you can expand your app's reach and provide a better user experience for non-English speakers. Start translating your app today and make it accessible to a global audience!
Helpful Links
If you have any questions or run into issues, feel free to leave a comment or contact i18nowAI support by clicking the chat icon in the bottom right at www.i18now.ai.