General Information about Hygraph and Smartling Integration
What is the Hygraph and Smartling integration?
The Hygraph and Smartling integration allows you to connect your Hygraph project with Smartling, a cloud-based language translation and content localization tool. This integration enables teams to submit and import content for translation, manage multiple locales, and streamline localization workflows directly within Hygraph. Smartling offers both human and AI-powered translations. Learn more.
What can I do with the Hygraph-Smartling integration?
With the Hygraph-Smartling integration, you can:
Simplify workflows by submitting and importing content between Hygraph and Smartling.
Easily manage multiple locales for your digital products through a dedicated interface in Hygraph.
Submit content for translation, track translation statuses, and import completed translations back into Hygraph.
Bulk manage translations and view localization statuses directly in the content editor.
What do I need before using the Hygraph-Smartling integration?
To use the integration, you need:
A Hygraph account and an active Hygraph project (sign up here).
A Smartling account and a Smartling project (book a meeting if you don't have one).
Smartling API credentials: User ID, User Secret, and Project ID, which you can generate in your Smartling account under Account Settings > API > Account/Project tokens.
Select your project and click "Install app," then authorize permissions.
Enter your Smartling User ID, User Secret, and Project ID.
Select at least one translatable model to use with Smartling (this can be edited later).
Map locales between Smartling and Hygraph, then click "Save."
The app creates a dedicated view in the content editor, so you can start using it immediately without schema modifications. Full installation guide.
Where can I find the Smartling app for Hygraph?
The Smartling app is available in the Hygraph marketplace. You can access it directly at this link.
Is the Smartling app configuration environment-specific?
Yes, the Smartling app configuration is environment-specific. This means the configuration applies per environment, so if your project uses multiple environments, you need to configure the app separately for each one.
Using the Integration
How do I use Smartling in my Hygraph project?
After installing the app, you will find the Smartling app view in the Hygraph content editor under App views. Content created for the models you selected during installation will display here. You can submit content for translation, import completed translations, and view translation statuses directly in this interface. Only localizable fields (fields set as localized in the model) can be submitted to Smartling. Learn more.
How do I submit content for translation to Smartling?
To submit content for translation:
Go to the content editor and select Smartling under App view.
Select the content you want to submit and click "Submit for translation."
Choose to create a new job or select an existing one, set job details, and select locales.
Optionally, pre-authorize translations for new jobs.
Click "Submit" to send the content to Smartling. The status will update to "In progress."
Which field types are supported for translation with Smartling?
The following field types are supported for translation submissions to Smartling:
Single-line text
Multi-line text
Markdown
Rich text
Slug
Translation submissions are also supported for basic and modular components, but only for these field types. See supported fields.
How do I map locales between Hygraph and Smartling?
During the Smartling app installation, you can use the dropdown menu to map each Smartling locale to a corresponding Hygraph locale. This mapping ensures that translations are correctly synchronized between both platforms. You can edit locale mappings later in the Apps section of your Hygraph project.
How do I view and manage translation statuses in Hygraph?
The Smartling app view in the content editor displays the localization status of your content. You can see statuses such as "Missing" (never submitted), "In progress" (submitted for translation), and "Done" (translation finished and ready to import). You can also refresh statuses and filter entries by model, locale, or status. Learn more.
How do I search and filter translation entries?
You can search for specific entries by typing their ID or Title in the search fields. Filters are available to show entries for specific models, locales, or locale statuses. The "Outdated" dropdown lets you filter by all, only outdated, or only up-to-date entries. You can also adjust the number of items displayed per page.
How do I view translations in the content editor?
To view translations:
Navigate to the content editor and select the model view configured for Smartling.
Edit an entry that has imported translations.
Use the Localizations section in the right sidebar to add, delete, or visualize translations.
What should I do if I see 'This model has no localized fields'?
If the content editor displays this message but your schema has localizations configured, go to Project settings > Locales and ensure your project has at least two languages configured. Free plans can have a maximum of 2 locales. Add another language if needed using the Display name dropdown and click Add. See troubleshooting steps.
How are errors handled in the Hygraph-Smartling integration?
Error messages in Hygraph will provide a Smartling error code and description. You can check the Smartling documentation to learn about error codes and how to resolve them.
Are there any limitations on the number of locales in Hygraph?
Yes, free plans in Hygraph can have a maximum of 2 locales. If you need more, consider upgrading your plan. See locale limitations.
Resources & Support
Where can I find the setup guide for Smartling integration?
You can find the step-by-step setup guide for connecting Smartling with Hygraph in the official documentation.
Where can I get help or support for the Hygraph-Smartling integration?
You must have a Smartling project. Check out Smartling Help Center to find out more about how Smartling works.
You must create a Smartling project and have the following information at hand:
User ID: Generate this by clicking on Account settings, located on the upper right corner of the screen - by your user menu - then select the API option. Find the Account tokens section of the screen and click on the Create Token button. Finally, assign a name to your token and click on Create. Your User ID is the Token Name. Copy this information, as you won't be able to access it afterwards.
User Secret: Generate this by clicking on Account settings, located on the upper right corner of the screen - by your user menu - then select the API option. Find the Account tokens section of the screen and click on the Create Token button. Finally, assign a name to your token and click on Create. Your User Secret is the Token Secret. Copy this information, as you won't be able to access it afterwards.
Project ID: Find this by clicking on Account settings, located on the upper right corner of the screen - by your user menu - then select the API option. Find the Project tokens section of the screen. You can copy the Project ID of an existing project, or generate a new one by clicking on Create Token.
Apps are environment specific. This means their configuration is applied per environment. Take this into consideration if you're working with a project using more than one environment.
Click here to install the Smartling app on Hygraph, then follow these steps:
In the dropdown, select which project you want to install the app in, then click on the Install app button, then authorize permissions.
Fill in the User ID, User secret, Project ID. This information can be found in your Smartling account. The Hygraph UI provides a link with information on how to get them at the top of the screen. We also provided information on this in the Prerequisites section of this document.
Select at least one translatable model to use Smartling in. This information can be edited later by going to the Apps section of your Hygraph project, and editing the app details.
Map the locales by using the dropdown menu to select a Smartling locale to match your Hygraph locale. This information might take a few seconds to load after entering a Project ID.
Click Save.
Pro Tip
The Smartling app creates a dedicated custom app view in the content editor. This means that you can start using it right away, without having to make any schema modifications.
The Smartling app does not need to be manually added to models from your project schema. Instead, after installation, you will find the Smartling app view in the Content editor, under App views.
As you create content for the models you selected during installation, this content will display here. From here, you will be able to submit translations to Smartling, and then import those translations back into Hygraph.
Please note that only the content created using the Models that you selected during the Smartling installation process will display on this list.
You can edit this from your Hygraph project by navigating to Apps > Smartling, clicking Edit on the app card, and then using the checkboxes to select the models you want.
Finally, after installing the app, you will be able to view the translated content normally by accessing the Content editor.
Take into account that only localizable fields can be submitted to Smartling. So the fields must be set as localized fields when added to the model.
Localize field checkbox
You will find the Localize field checkbox in the Field options section of the field details screen. To check if a field is localized, you can open the project Schema and and look at the field card, or edit the field to view its details.
Select Smartling under the App view section of the screen.
Use the checkboxes to select the content that you want to submit from the list, and send it to Smartling by clicking on the Submit for translation link at the top of the table. Content that has not been submitted has the Missing status.
A pop-up will display, where you need to select the job and locales to submit.
New job
Name new job: Type in a name for the new job.
Enter job description: Optional. You can add a description for the new job here.
Select job due date: Click the calendar icon to select a due date for the new job, then click Ok.
Existing job
Select existing: Use the dropdown menu to select an existing job. Selecting pre-existing jobs does not change the authorization status.
Locales: Use the checkboxes to select the locales you want to submit for translation.
Pre-authorize: You can select this checkbox to pre-authorize the translations. Pre-authorized translations do not need to be authorized from your Smartling project after submitting. This checkbox displays only for new jobs.
Click Submit to send the translation to Smartling. Its status will change to In progress, and you will be able to find the content ready to translate in your Smartling account.
If the content is exported successfully, a green toast will indicate this. If it fails, a red toast will indicate that the process was unsuccessful. You can check out the Smartling documentation to look into the possible cause of errors.
After submitting content to Smartling, it will be ready for translation there. Once translated, you can then import that content back to Hygraph by following these steps:
Navigate to the Smartling app view in the Content editor. Use the checkboxes to select the entries that you want to import translations for, then click Import translations at the top of the table.
The sync popup will display:
Locales: Use the checkboxes to select the locales you want to import translations for.
Click Import translations.
If you successfully import all entries, you will get a green toast indicating so.
If the import is partially successful, you will get a yellow toast indicating how many entries were imported successfully and how many failed.
If the import fails, you will get a red toast indicating so.
The Smartling app view in the Content editor contains a form that allows you to view the localization status of your content as well as to submit and import translations in bulk.
Smartling section in App view
Your Locale status refers to the default language in your project. You can see the language next to the Title, for instance Title (en).
Your Global status refers to all the languages that were submitted for translation.
Status
Description
Missing
Indicates that an entry has never been submitted to Smartling.
In progress
Indicates that an entry has been submitted for translation.
Done
Indicates that the translation has been finished in Smartling and has moved onto the next step in the workflow. This means that the translation can be imported back into Hygraph
Pro Tip
You can click Refresh all at the top-right of the table to refresh the status of all localizations on the table.
If the Content Editor displays the message This model has no localized fields under localizations in the sidebar, while the Schema has localizations configured, go to Project settings > Locales and make sure your project has at least two languages configured.
Locales in project settings
If you have only one language configured there, select another language for localizations using the Display name dropdown, then click on Add.
Please note that free plans can have a maximum of 2 locales.
Error messages in Hygraph will provide a Smartling error code and description. Check out the Smartling documentation to learn about those errors and how to solve them.