Translation Setup
Introduction
Modifying the terminology on screen or translating it for additional languages can take place in one of three places, depending on the type of content.
-
Use Salesforce’s Translation Workbench to translate the standard user interface text in FieldFX provided by Salesforce in FieldFX.
You can translate user interface text to any language fully supported by Salesforce.
Refer to the What languages does Salesforce support? article for a list of fully supported languages. -
Use a Static Resource file to modify or translate labels used in FieldFX Mobile and the classic Item Builder tools.
Refer to Custom Interface Labels below for instructions.
The Item Builders for Invoices, Price Books, Quotes, and Tickets have been deprecated. Configure FX Item Picker Lightning Component Options for adding invoice items to a ticket, price book items to a ticket, Quote Items to a ticket, or ticket items to a ticket in Back Office. -
Manage Custom Labels to modify what displays in Lightning components and Shift Scheduling.
Prerequisites
To translate user interface text, you need:
-
Minimum permissions for the FieldFX modules you are using
-
System permissions:
-
Customize Application
-
Manage Translation
-
View Setup and Configuration
-
Enabling Translation Workbench
-
From Setup, enter
translation
in the Quick Find box, then select Translation Language Settings -
Click Enable
Translate User Interface Text
Translate Core User Interface Elements
This guide explains how to translate the following:
Element | FieldFX Back Office | FieldFX Mobile |
---|---|---|
Buttons |
||
Error Messages |
||
Field Names |
||
Headings |
||
Inline Help |
||
Links |
||
Notifications |
||
Picklist Values |
||
Record Names |
||
Tab Names |
Export a source file containing the translatable text
-
From Setup, enter
translation
in the Quick Find box, then select Export. -
Select Source.
-
Click Export as STF or Export as XLIFF depending on your translation needs.
STF stands for Salesforce Translation Files and functions similarly to CSV files in Microsoft Excel.
XLIFF is an XML-based translation standard format for working with translation files across tools.
You will receive an email confirmation once the export process finishes.
-
Open the Documents tab.
-
Open the source file.
-
Click View.
-
Save the file to your computer.
-
Send the source file to your translator.
-
Translators should review the instructions included in the source file before starting translation.
-
Refer to the Translation Workbench Export and Import Quick Start Guide for guidance on working with the source file.
-
Import the translated source file
-
From Setup, enter
translation
in the Quick Find box, then select Import. -
Review the preparation instructions on the page and make sure the source file meets the specified criteria.
-
Under Step 3, click Choose File.
-
Select the source file.
-
Click Import.
You will receive an email confirmation once the import process finishes.
-
Verify the translated user interface text displays correctly.
-
Log out and log in again before you test the translated user interface.
-
If necessary, make corrections to the source file and import the file again.
-
Translate User Interface Elements for FieldFX Mobile and Classic Item Builders
The Item Builders for Invoices, Price Books, Quotes, and Tickets have been deprecated. Configure FX Item Picker Lightning Component Options for adding invoice items to a ticket, price book items to a ticket, Quote Items to a ticket, or ticket items to a ticket in Back Office. |
This table explains how to translate the following:
Element | Price Book Builder | Quote Item Builder | Ticket Item Builder | Invoice Item Builder | FieldFX Mobile |
---|---|---|---|---|---|
Bulk Editor Elements |
|||||
Buttons |
|||||
Error Messages |
|||||
Headings |
|||||
Navigation Elements |
|||||
Notifications |
|||||
Sidebar Options |
|||||
Walkthrough Help |
Create a source file containing the translatable text
-
Download the en_US file.
-
Open the file in a text editor.
-
Save the file to your computer and use an appropriate language code as the file name.
-
If you are translating the user interface text to Spanish, use
es
as the file name. -
Refer to What languages does Salesforce support? article for a list of valid language codes.
-
Send the source file to your translator.
-
Each translatable element has a key and a label. Translators should only translate the label.
-
In the following example, "Sync_Sync" is the key and "Sync" is the label.
"Sync_Sync" : "Sync",
-
Refer to the Translation Workbench Export and Import Quick Start Guide for guidance on working with the source file.
Import the translated source file
-
From Setup, enter
static
in the Quick Find box, then select Static Resources. -
Click New.
-
In Name, enter the name of the source file.
This name should be the language code for the language of the translated text. -
In Cache Control, select "Public".
-
Click Choose File.
-
Select the source file.
-
Click Save.
Custom Labels
The labels in elements of many Lightning Components and Shift Scheduling can be customized or translated.
Create custom labels for any of the following:
FX Managed Lightning Component | Custom Label View Name | Filter Value |
---|---|---|
FXL Bulk Edit |
Bulk Edit |
bulk edit |
FX Data Grid |
Grid |
Grid |
FX Deep Copy |
Deep Copy |
Deep Copy |
FX Item Cart |
Item Cart |
Item Cart |
FX Item Picker |
Item Picker |
Item Picker |
FXL Copy Items |
Copy Items |
Copy Items |
FXL Bundle Maker |
Bundler |
Bundler |
FXL Stage Pricing |
Stage Pricing |
Stage Pricing |
FXL Report Template Viewer |
Report Template |
Report Template |
FXL Report Viewer |
Report Viewer |
Report Live |
Quote To Job |
Quote to Job |
Quote To Job |
Shift Scheduling |
Shift Scheduling |
Shift Scheduling |
-
Follow the steps in Add a Custom View, then customize the view as follows:
Step # Enter this… Enter a View Name for the component, such as suggested in the table above.
Add a Filter row:
-
Field: Categories
-
Operator: Contains
-
Value: Enter the Filter Value for the component from the table above.
-
-
Select Save to return to the Custom Labels list screen.
-
Select the new View you just added from the drop down.
This filters the list.
-
Continue with Add a New Label.
Add a New Label
-
Click the Name for the field or button to which to add a new label.
-
Click New Translations / Overrides.
-
Select the language to which to add the custom label.
A user’s default language is defined in user settings.
-
Add the new text for the label in Translation Text and click Save.
-
Continue with Override Individual Translations.
Override Individual Translations
-
From Setup, enter
translation
in the Quick Find box, then select Override. -
In Package, select "FieldFX Base Package"
-
In Language, select the relevant language
-
In Setup Component, select the relevant user interface element
-
In Object, select the relevant object
-
In the Button or Link Label Override column, double-click the translation to override
-
Enter the new term to use.
-
Click Save.