Questions tagged [translation]
The translation tag has no usage guidance.
235
questions
0
votes
1
answer
27
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
50
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
51
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
131
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 ...
1
vote
0
answers
39
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 ...
0
votes
0
answers
211
views
Einstein bot Multi-language
I want to setup my bot with multi-language.
So, I have enable data translations in company. Then, I enable english in translation Language settings, but when I add users, it says:
Make sure you give ...
0
votes
0
answers
55
views
Can I translate Permission Set Names with workbench?
I have a question which might just boil down to me being blind.
However, when I look at the Translation Workbench I seem unable to find any possibility of translating Permission Set Names/ ...
0
votes
0
answers
41
views
Notification Translation for current User
I'm facing a problem while trying to translate a body notification for the current user in a flow, I used the {!$User.LanguageLocaleKey} in a decision as:
If the LanguageLocaleKey is es_MX send the ...
0
votes
0
answers
129
views
Custom Field label translation is not working
What I want to achieve?
I want to create CustomField label translations for other languages on Account object.
What is the issue?
Even though I created some translations and I changed my user's locale ...
0
votes
0
answers
144
views
Einstein Chatbot translations
We have a chatbot that has two languages enabled. English as Primary and Dutch as an additional language. The language is set via a variable being passed programmatically from the site where it is ...
2
votes
1
answer
165
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
268
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
167
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
179
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
150
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 ...
1
vote
2
answers
2k
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
255
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
296
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
487
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
72
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:
...
3
votes
1
answer
388
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
92
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
592
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
675
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
761
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
455
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
44
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
587
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
90
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
254
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
188
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
503
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
85
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
268
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
572
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
390
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
35
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 ...
0
votes
1
answer
721
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
258
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 ...
0
votes
1
answer
221
views
AddressSettings / State & Country picklists translation
Question on AddressSettings / State & Country picklists:
Does anyone know if there is a way to retrieve translations of country picklist by language via Metadata API / any other exposed salesforce ...
1
vote
0
answers
176
views
Global Value Set is not translated in managed package
I developed a 2GP managed package.
I enabled the translation workbench in the package and translated custom fields.
These are well working in the organization where the package is installed.
I also ...
0
votes
1
answer
3k
views
How to deploy Custom Label Translations
I have created about 80 custom labels and translated then to French.
After deploying the Custom Labels via salesforce change set to Production, I found the translations did not get deployed. Is there ...
0
votes
1
answer
52
views
Aura component behaving differently according to profile
Hello I have this aura component, when I log as a system administrator, it shows perfectly translated and displays the expected values (I use custom labels for translation and custom metadata for the ...
0
votes
1
answer
620
views
The error message "Unable to obtain exclusive access to record” is not translated
"Unable to obtain exclusive access to record” is a Salesforce Standard error message that appears (in our case) when two persons are editing the same Account. The problem is that even if the ...
2
votes
0
answers
93
views
Export Translations for Managed Topics in Salesforce Experience/Community
I have tried to export translations for ManagedTopics in my Salesforce Community using Export Content feature as well as Translation workbench but I am not able to see the translations I have done for ...
0
votes
1
answer
921
views
How to get the selected picklist field values
I have a picklist field on user object. Now I want to login as get the picklist translated field value when login as a user. So I tried to get the field value using toLabel on the field but it is ...
0
votes
1
answer
522
views
LWC Component visible depends on login user language
I have a LWC component which get the results from apex class. Now when I login as a Italy user with locale Italian (Italy) and Language Italian, the component is not working. When i change Language ...
0
votes
3
answers
673
views
Translate CPQ Quote Template Content
Unable to use 'Template Content Variable' while translating Template Content record.
Requirement is I need to translate text in my template content to specific languages on quote document.
Please ...
1
vote
0
answers
83
views
Disable translations for specific managed package
I have a managed package installed in my environment which used to be only available in English. Most of our users have set their Salesforce language to Dutch, but are used to having all of the stuff ...
0
votes
1
answer
164
views
What is the best way to show the Visualforce PDF page in 3 different languages?
We have a site in one language and we need to show 3 different versions of the site (we have translations) in another 2 languages.
It would be better to create 3 different visualforce sites (each for ...