Questions tagged [translation]
The translation tag has no usage guidance.
246
questions
0
votes
0
answers
37
views
Picklist Labels not translated
I have set up translation on a custom picklist field as shown:
The language selected for the Picklist Labels is French, and my User's Language is set to French.
According to my understanding, this ...
0
votes
0
answers
27
views
Not able to Retrieve Managed Custom Field Translations using Metadata API?
We are working on a task where we need to retrieve and update custom field translations using Metadata API.
The code is working fine for unmanaged custom fields, but for managed custom fields, it's ...
-1
votes
0
answers
22
views
Showing inconsistency between dependent picklist values and picklist values [closed]
Picklist field is having values and we had translated those picklsit values, afterthat we refereed that field as dependent picklistfiled, in the dependent picklist section let's say 10 values are ...
0
votes
0
answers
18
views
Inline help text translation overrides default value
Performing sf project retrieve start changes text value in field's <inlineHelpText>.
What is retrieved depends on language settings of the user performing the retrieve.
Is there any way around ...
2
votes
0
answers
39
views
Difference between how the labels are returned in compact layout and search layout api if user language is different than english
I am calling salesforce API to get compact layouts( /services/data/v46.0/sobjects/Account/describe/compactLayouts/primary ). I get fields label in user's translated language.I am getting same response ...
0
votes
0
answers
46
views
Translation of Record Name value
I have an Object A with a lookup field to Object B and a Language__c field. I would like to create another field on Object A to display the record name value of the record from Object B in a correct ...
0
votes
0
answers
48
views
Is it possible to translate Knowledge article content details and related links part?
I have created a Knowledge article with translations, and it works fine.
The issue is that I have 2 subtitles which is not translated. This is the Details and Related links subtitles.
I'm using this ...
0
votes
1
answer
69
views
How to access the translated DataCategoryName?
I'm using the following SOQL query to retrive the Data Category Name.
SELECT Id, ParentId, Parent.Title, DataCategoryGroupName, DataCategoryName
FROM Knowledge__DataCategorySelection
WHERE Parent....
1
vote
0
answers
45
views
Why is Salesforce's translation system so bad?
For almost two decades I've worked with gettext PO files, which is just a pleasure to work with. It solves a lot of problems, is very DRY, and is super translator-friendly. And then we have the ...
0
votes
1
answer
392
views
How to translate text in flows?
For example - I have a screen flow that shows a confirmation message like this:
The opportunity has been converted successfully:
{!Opportunity.Name}
The opportunity name also has a link to the actual ...
0
votes
0
answers
18
views
How to Get Product2 with their Translations in Product2DataTranslation with SOQL [duplicate]
We have Product data stored in Product2 Object and its translation data in Product2DataTranslation how I can get English-translated Product Name and Descriptions of a Product2 with a single Query?
0
votes
0
answers
94
views
How to delete custom field translations when deleting the field?
I've deleted a custom field, and pushed that to my scratch org, but now I can't delete the corresponding translation:
$ rm package/main/default/objects/Opportunity/fields/MyField__c.field-meta.xml
$ ...
0
votes
0
answers
105
views
Translating DataCategory
I am using Copado, but it does not matter. I know that DataCategory could be translated. However, I want to deploy this thru metadata.
I reviewed the metadata CustomObjectTranslation and Translations ...
0
votes
0
answers
27
views
Import translation file without using the salesforce interface
I have a question after generating the package of my salesforce application.
In the organization that develops my app, use the translation system, even generate my .xlf file to have the tags you used ...
0
votes
1
answer
271
views
How to deploy einstein bot spanish translation on production or higher sandbox environment
I deployed einstein bot file higher sandbox environment. I can see einstein bot successfully deployed but spanish translation are not deployed and it is not visible in bot. Can anyone let us know how ...
0
votes
1
answer
180
views
How to get the translated value from custom label in apex
I want to fetch the translated value of custom label based on user locale i have created one custom label and provided the default language in English and i added a spanish translation into that ...
0
votes
1
answer
93
views
Where in the SFDX tree do translations (changed labels) for actions like LoginToNetworkAsUser go?
These are Digital Experience related buttons that can appear on the Contact record. The buttons are normally labelled:
LoginToNetworkAsUser has label "Login to Experience as User"
...
0
votes
0
answers
312
views
Why can't I deploy translation for a metadata owned by a managed package?
I retrieved a translation metadata via the Metadata API with the following package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/...
1
vote
2
answers
116
views
Can translation languages be activated/deactivated with the Metadata API?
For existing translation languages, some of them can have an inactive status as below:
There is a Translations Metadata Type that doesn't have any Status or IsActive tag. At first deployment, any new ...
3
votes
3
answers
200
views
Localization Best Practices for Managed Packages
I have worked with Custom Labels in Managed packages forever but never had to refactor an existing app to be localizable (I18N) for multiple languages. So in this question I would like to hear from ...
2
votes
0
answers
99
views
Is there any way to translate @InvocableMethod label and description
My company is providing a managed package that needs to be translated to many languages.
We managed to customise most labels using a CustomLabel metadata file. This is working fine for both lightning ...
2
votes
1
answer
259
views
Apex Trigger error message working for all languages except for one
I created a simple Apex Trigger that shows an error message when user tries to create an event without adding any attendee. I created a custom label for error message and its translations in different ...
2
votes
1
answer
490
views
Clone or deploy bot translation
I am using Salesforce bots.
I use translations, and I have added translations for all my bot dialogs and messages, for German, Spanish and French languages.
Now I want to clone the bot into a new ...
0
votes
0
answers
345
views
Is there a way to translate the owner field of an object?
I am looking for a way to set a French translation for the Owner field for a custom object in a managed package (specifically the "Product Package" object in nCino, if that is relevant) as ...
0
votes
1
answer
325
views
Salesforce CPQ Translation output language - English doesn't appear
In the UAT, I deployed CPQ's records, including localization records. Quote Term's English translation does not work, so I tried to redo it. On the quote term record, I selected the "Translate&...
2
votes
0
answers
232
views
Translation via custom labels for dynamically generated content
The context.
To dynamically translate custom labels in Apex for a given language that differ from the language of the current user, I use the Visualforce page approach.
The problem.
I can't use this ...
3
votes
2
answers
6k
views
How to get translation of field label based on language and locale? [duplicate]
I have a use-case where I want to get a translation of field labels based on user locale and language.
How to do that using Apex or any other alternative is available ?
Basically query data from ...
0
votes
1
answer
553
views
How to retrieve related list label changes from translation workbench
I have renamed the related List label by following the below steps
Setup --> Translation Workbench --> Override.
Select the filter criteria:
Package {!Name of the Installed Package}
Language ...
0
votes
0
answers
463
views
How to obtain translated full day name from date in Apex?
In Apex, the name of the day can be derived from a date using the format('EEEE') method:
Datetime targetDate = Datetime.newInstance(2022, 4, 28, 0, 0, 0);
String dayOfWeek = targetDate.format('EEEE');
...
1
vote
2
answers
939
views
Get localized string / translation of an object record type name / description in a flow screen
I want to show the translations / localized strings of an object record type in a radio button element in a flow, however configured translation is not shown.
Any idea on how to get RecordType ...
1
vote
1
answer
148
views
How to translate the Opportunity Split object?
Is there any way to translate the Opportunity Split object and its standard fields?
The object is not accessible from the "Rename Tabs and Labels" Setup section for both standard objects:
...
4
votes
1
answer
905
views
Where in the SFDX tree do translations of quick actions go?
I'm failing to successfully Google where to put in the SFDX tree translations for the labels of quick actions e.g. <label>Duplicate Account</label> here:
<?xml version="1.0" ...
0
votes
0
answers
140
views
Access record type name translation from visualforce using $ObjectType
I would like to get the translation of a record type label from a VisualForce page. I cannot find the correct way to access it using $ObjectType, if it's possible.
<apex:page language="{!lang}&...
1
vote
1
answer
1k
views
How can I import the translation of the standard field?
I try to import the XLF file containing some standard fields, for instance Account.BillingAddress.
Here's how the field is defined:
<trans-unit id="CustomField.Account.BillingAddress....
1
vote
1
answer
1k
views
How to translate the "Information" section of the page layout?
Each custom object has its "Information" section on the page layout:
I wanted to translate it in Translation Workbench, but it's not visible there:
Is there any other place where I could ...
0
votes
1
answer
1k
views
How to translate a Lightning Component Tab label in different languages?
I wonder how to translate Lightning Component Tab label? Why custom tab is not available at Rename Tabs and Labels in Setup. There is any special step to acheive translation here?
2
votes
1
answer
945
views
Metadata API not retrieving all language translation for custom labels
I have created a Custom label with its translation on the setup:
I have also activated German language on the Setup->Translation Language Settings
However, when I retrieve it via Metadata API, ...
1
vote
0
answers
104
views
Prefill text fields with text in users language
We are currently using text fields with default text to create a form for users when they create a new record, e.g.
custom_field_1 is not editable by any profiles and has default text that appears on ...
0
votes
1
answer
982
views
Salesforce standard translation is not working for custom development?
Here I set the user local and language as italian
The entire page is translated except custom components (lwc,aura).
LWC
<lightning-card title="Hello">
<lightning-button ...
2
votes
1
answer
172
views
Behavior when retrieving Translation/Profiles Metadata from a Scratch Org vs. other Org (Sandbox, Production, Developer Edition)
When retrieving Translations the docs say, the returned Metadata
only include translations for the other metadata types referenced in package.xml
Source: Translations | Metadata API Developer Guide
...
0
votes
0
answers
439
views
Suggestion for retrieving translations for multiple language
I have a multi-language org and very basic requirement: When a user click a button/action, value of a picklist will be sent to external system, since multiple language used, translation for other ...
2
votes
0
answers
319
views
Retrieve Translated NavigationMenu Items metadata for Deployment?
I have NavigationMenu items for which translations are in place in Translation Workbench. But every time i add new translations i need a way to deploy them through Metadata deployment. For now i need ...
0
votes
1
answer
781
views
Translate CPQ Quote Document with custom (VF) template content
I'm trying to understand how one can get static text on a custom template content translated to the chosen language while generating a Quote Document. I tried using custom labels with translations but ...
1
vote
0
answers
129
views
Is it possible to create StandardValueSetTranslation or GlobalValueSetTranslation in Apex?
I've generated apex metadata.service.cls (sth. like this: https://github.com/financialforcedev/apex-mdapi/blob/master/apex-mdapi/src/classes/MetadataService.cls) and now I'm working on REST service ...
0
votes
2
answers
465
views
For a CustomeObject where woud I put/find the Picklist translations?
I have a custome object and that has a field with a picklist. Now I need to translate the picklist not via the UI I just like to know what file I need to put in which folder.
5
votes
1
answer
676
views
CustomObjectTranslation invalid characters
I'm trying to use Ant to deploy some changes to a sandbox that has been updated to Winter '22.
I'm getting 2 errors from 2 different custom objects that
.objectTranslation -- Error: Invalid characters ...
0
votes
1
answer
653
views
Is there a way to change the Language of the Automated Process User?
We have a process that's capturing error messages in a log object. Our error messages are contained in custom labels with translations, but everything initiated by the Automated Process user pulls in ...
0
votes
0
answers
61
views
Translate Salesforce default message when uploading files
I'm working with an app in spanish to handle cases, I have the default component for uploading files, when a file is uploaded, the message "1 file was added to the Case" translated to ...
2
votes
1
answer
1k
views
Cannot see all picklist values in a Translate Settings
I have a country field in object Case with 50 picklist values for countries.
I'm creating a Translate operation in settings, I select my desired language, setup component Picklist value, and object ...
2
votes
1
answer
412
views
SOQL Address Country not localized / translated
I'm querying an Account Address and want the country to be translated into the language of the requesting user.
Sample query:
SELECT BillingAddress FROM Account
I maintained the translation of the ...