Get in touch with Sales for licensing questions.
The integration allows developers, writers, managers, and marketers to connect to their profile and access translations directly from within Contentful. The integration does not work for multiple environments and does not require enabling localization in Contentful itself.
A Contentful account.
The installed application.
To display multiple keys in the preview, an environment that uses nested translation syntax is required. i18next is an example of such a framework. If the framework does not include this feature, a custom pre-formatter may need to be written.
To setup the application in Contentful, follow these steps:
Select the content model to be used with the application.
Click on icon.and add the application with the
From the Settings.list of the content model, click
From the Phrase.tile, select
Repeat for each field to be used with the application.
The application is now available in the Contentful sidebar for logging in with Phrase credentials.
Provide credentials and click Connect with Phrase.
Select a Save.and a language from the dropdown lists and click
Phrase content can now be searched for and viewed from with Contentful.
Enter the /text command in the field to search for texts stored in Phrase and the /key command for key names. Results are presented in a dropdown list and are easiest to select with the arrow and enter keys.
Click Preview to see content based on selected keys.
The In-Context Editor (ICE) can also be used for the Contentful preview allowing switching the language via the editor and editing translations in-context.
Keys from string or fields received from Contentful must be extracted and translated manually.
To setup the use of the In-context editor, follow these steps:
Ensure an environment is available receiving data from Contentful such as an online version of a website or an application still in development for previewing entries.
Install and setup the In-Context Editor.
Configure the In-context-editor as Contentful preview by placing the URL of the environment in Contentful preview settings.