Configuring Custom Translations for FSM Mobile and Templates
Configure translation references for custom text in Field Service Management (FSM), including FSM Mobile labels and email and report templates.
Before you configure custom translations, complete the following prerequisites:
-
Use a role that can change Field Service Configuration. Creating or changing translation collections requires Manage Translation permission. For more information, see Translation Collections Prerequisites.
-
Enable Multi-Language and add the required translation languages to the account's supported-language list. For the steps, see Enabling Language Selection and Translation Entry.
-
For FSM Mobile text, identify the existing resource and element IDs. For template text, identify the file that contains the text. Obtain the collection ID, string keys, and translations for each intended language.
For custom text in email and report templates, see Translating Custom Text in FSM Emails and Reports.
Use a separate translation collection and override the text on the existing resource. Retain its resource ID, element IDs, record mappings, resource-selection rules, and validation settings.
To configure translated custom FSM Mobile labels:
-
Create a translation collection:
-
Go to Customization > Translations > Manage Translations.
-
On Collections, click Create New.
-
Complete Name, ID, and Default Language. The default language cannot be changed after saving.
-
Click Save.
For more information, see Managing Translation Collections.
-
-
On Collections, find the collection you want to update. In the Strings column, click +. Supply the source text, key, description, and available translations, then save. For more information, see Adding Strings to Translation Collections. For information about bulk translations, see Importing Translations into a Translation Collection.
-
Record the collection's full script ID and each string key.
-
Prepare an inactive copy of the current configuration before editing:
-
Go to Field Service > Administration > Configuration.
The Field Service Configuration page opens the active configuration record.
-
Record the name of the active configuration so that you can identify it when activating the replacement.
-
In Name, enter a unique name for the new version. Begin with the current product version, followed by the date in
YYYYMMDDformat and your initials. You can add a short description. -
Check the Inactive box to keep the replacement inactive during editing.
-
From the Save list, click Save As.
-
Click List. On the Field Service Configuration List page, check the Show Inactives box.
-
Find the new record and click Edit.
-
-
In the inactive configuration revision, replace the intended label text with
collection_ID.KEY, using your collection's full script ID and string key. A reference is plain text in the JSON string. It doesn't need a${ ... }template tag.In the following example,
custcollection_fsm_customis an illustrative customer-owned collection. Create it, or replace the ID with your collection's actual script ID. AddJOB_DETAILSandACTIONS_TAKENwith source strings and the required translations.This JSON fragment changes the tab label and one field label on the existing
detailsresource. Merge it into the existing configuration. For JSON terminology, see Configuration Hierarchy.{ "routes/mobile": { "details": { "label": "custcollection_fsm_custom.JOB_DETAILS", "element": { "actions": { "label": "custcollection_fsm_custom.ACTIONS_TAKEN" } } } } }Use this example only when
detailsis selected for the relevant jobs. Standard configuration supplies its tab label throughcustcollection_fsm.app_detailstab_nameand theactionslabel throughcustcollection_fsm.app_detailstab_actions_taken_name. The fragment retains the existing mapping ofactionstocustevent_nx_actions_taken, together with the resource's other inherited settings.For a resource generated from a NetSuite form, use the actual generated field ID in
element. An explicit label overrides the generated label. Changing this FSM Mobile label doesn't rename the NetSuite field. For more information, see Form Properties and FSM Mobile Element Reference.Normally omit a locale suffix so the reference follows the language selected for the request. A reference such as
custcollection_fsm_custom.ACTIONS_TAKEN.fr_FRselects that locale for the reference. Use a fixed locale only when that text is intentionally independent of the employee or customer selection. For information about expressions and template tags, see FSM Expressions and Template Tags.Important:A label override doesn't require creating a resource. Copying a standard resource under another ID is a separate customization. Don't assume that the copy retains the original resource's server synchronization or processing of related records.
Standard default JSON for these two labels (language selection itself is an account or record setting):
{ "routes/mobile": { "details": { "label": "custcollection_fsm.app_detailstab_name", "element": { "actions": { "label": "custcollection_fsm.app_detailstab_actions_taken_name" } } } } } -
Check the Editor content for valid JSON before saving.
FSM checks whether the Editor content can be parsed as JSON. When Preview is enabled, the form displays an indicator that shows whether the JSON is valid or invalid. Saving rejects invalid JSON whether Preview is enabled or disabled. Repeated property names within one object pass the syntax check, but only the last value remains. With Preview enabled, the Editor can remove an earlier duplicate when you finish changing the field. Saving removes it in either mode. The check also doesn't comprehensively validate property paths, values, record references, searches, expressions, or the account setup needed for the intended behavior.
Valid JSON and Configuration Preview don't establish that a property is supported or that downstream processing succeeds.
-
From the Save As list, click Save.
-
On the configuration list, clear the Inactive box for the replacement record and check the Inactive box for the previous active record.
-
Click Submit. Reopen the configuration page to confirm the intended record is active.
Changed configuration applies to subsequent applicable requests and output generation. These changes don't regenerate previous emails, PDFs, or record names.
Synchronize outstanding work before refreshing or signing out of FSM Mobile. Refresh FSM Mobile for changed labels.
An unresolved translation key can remain visible. Don't assume that FSM uses English as a fallback if a translation collection fails to load.
Removing custom label or template overrides restores the inherited definitions. Existing emails, PDFs, and stored names remain unchanged.
Translating Custom Text in FSM Emails and Reports
Use the same collection references for custom text in the applicable HTML email or XML report template. For example, this template fragment inserts the available translation for one label:
<p>custcollection_fsm_custom.ACTIONS_TAKEN</p>
Preserve the existing template's data references and rendering structure. FSM resolves collection references before FreeMarker processes the template. Literal text without a reference remains literal.
For information about configuring template files and their data for emails and reports, see Customizing FSM Notification Emails and Language and Translations. The selected notification language is passed to the email and its template-generated report attachments. Attaching an existing file doesn't render or translate that file again.