Configuration
Learn how to configure your SFCC instance to send products for translation on TextMaster
Navigate to "Merchant Tools" → "TextMaster" → "API Setup" in your SFCC environment
Under the "API Environment" section, select "Live". This will ensure that your live content is being translated
Enter the ID of your master catalog. This ensures that the right product information is being selected for translation
If your environment is password-protected, enter your password in the "Storefront Protection Password" field. This helps maintain the security of your translation process
Provide the API Base URLs for both the Demo and Live environments. These URLs enable the communication between SFCC and TextMaster
Once you've filled in all the necessary fields, click the "Save" button
In order to facilitate a secure connection between your TextMaster account and the Salesforce Commerce Cloud (SFCC) plugin, you need to create an OAuth application in your TextMaster account. Once created, this OAuth application needs to be linked in the "API Authentication" page of the SFCC plugin.
Log in to your TextMaster account, navigate to the API & Loop menu.
Click on the "New application" button and follow these instructions:
In the "Name" field, type a unique name for your application to easily identify it
For the "Authorization callback URL", enter your callback URL in the following format:
https://<hostname of your SFCC business manager environment>/on/demandware.store/Sites-Site/default/TMTranslation-Authentication
Alternatively, you can copy this URL directly from the "API Authentication" page of the TextMaster plugin modules in the Business Manager of your SFCC instance
In the "Scopes" section, select the checkboxes for
project:manage
anduser:manage
. This will allow your application to manage projects and users on your behalfClick "Save" to finalize the creation of your new application
After creating your OAuth application within TextMaster, you'll need to link it with your Salesforce Commerce Cloud (SFCC) instance. To do this:
Take note of the Application ID and Secret that were generated when you created your application in TextMaster
Return to the Business Manager of your SFCC instance and navigate to the "API Authentication" page within the TextMaster plugin modules
In the form provided, enter the Application ID and Secret that you noted down earlier
Click on "Authorize in TextMaster". This will redirect you to your TextMaster account
Follow the instructions provided by TextMaster to authorize the app. This process will involve granting the necessary permissions to the app to ensure it can function as expected
Once you've authorized the app, you will be redirected back to your SFCC page. Here, click on the "Generate Token" button. This action will generate a token internally which will be used by the plugin for all subsequent API communications
By following these steps, you'll successfully connect your TextMaster OAuth application with your SFCC instance. This connection is essential for enabling seamless and secure communication between TextMaster and SFCC. If you encounter any issues or need further clarification, please don't hesitate to reach out to our support team.
Language Mapping
Language Mapping is a vital step in ensuring accurate and context-specific translations between Salesforce Commerce Cloud (SFCC) and TextMaster. Here's how to establish this link:
In your SFCC environment, navigate to "Merchant Tools" → "TextMaster" → "Language Mapping"
Click on the "Add a Language Mapping" button. This will open up a new mapping form
From the selection dropdown, choose the appropriate SFCC Language that you want to map
Similarly, select the corresponding TextMaster Language from the next dropdown. This language will be used by TextMaster for the translations
After selecting the languages, click on the "Save" button to finalize the mapping
By following these steps, you've successfully created a language mapping between SFCC and TextMaster. This mapping will ensure that your translations are properly localized for your specified regions. If you need to map more languages, just repeat these steps for each language pair.
Default Attributes
Establishing default attributes streamlines the translation process by automatically including specific attributes every time you initiate a translation request. Here's how to set up default attributes:
Navigate to "Merchant Tools" → "TextMaster" → "Attribute Setup" in your Salesforce Commerce Cloud (SFCC) environment
From the options available, select the "Item Type" that your default attributes will apply to. This could be Products, Categories, Content Assets, etc., depending on what your SFCC setup includes
Next, review the list of available attributes for the selected item type. Check the boxes next to the attributes that you want to include by default in every translation request sent to TextMaster
Once you've selected all the relevant attributes, click on the "Save" button to finalize your selections
Remember, the attributes you set as defaults will automatically be included in every translation request for the corresponding item type. You can always come back to this page to adjust your default attributes as needed.
Last updated