Questions tagged [translation]
The translation tag has no usage guidance.
224
questions
0
votes
1
answer
36
views
How to get translation of field label based on lanagugae and locale?
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
22
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
28
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
60
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
27
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
110
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
20
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
88
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
124
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
111
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?
1
vote
0
answers
56
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
28
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
74
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
0
answers
34
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
43
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
74
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
0
answers
13
views
Salesforce Managed Package Component Translations
in Salesforce Billing, I am trying to translate the image component, but I am not succeeding. I tried Override for the Salesforce Billing package from the Salesforce Translation System, but did not ...
0
votes
1
answer
210
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 ...
0
votes
0
answers
25
views
Is there a way to add translations to a standard community page?
I am using the User Settings standard community page, but I can't find a way to add translations to the text on the right, is there a way to add labels to these text? Or can I translate them with the ...
0
votes
0
answers
42
views
Translate Configurable Self-Reg Page
I don't find a way to translate the self-register page provided by Salesforce when the Registration Page Type is equal to Configurable Self-Reg Page:
Next is how end users see this page:
I tried ...
1
vote
0
answers
22
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
103
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
446
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
49
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
23
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
147
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
100
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
0
answers
59
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
105
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
989
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
0
answers
25
views
Is there a way to control which fields are included in a Knowledge Base translation export?
I have followed the instructions to assign knowledge articles to a queue and export them, and it's working fine but it only exports 3 fields for each article:
Question
Answer
Member Information (a ...
0
votes
1
answer
36
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
201
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
45
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
68
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
271
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
384
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
49
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
47
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 ...
0
votes
1
answer
271
views
Update Custom Picklist Values Translations via MetadataService
I have a piece of code that allows me to update custom picklist field values:
public static TM_EComUtils.genericResponse addPicklistValuesViaMetadata(String fieldAPI, String sObjectAPI, List<String&...
0
votes
1
answer
160
views
Marketing Cloud Content Builder WYSIWYG editor for multiple languages
Is there an easy way to have a block element with a single WYSIWYG editor for multiple languages?
I want to have an element similar to the image carousel but with text.
Default text field (Shown in ...
1
vote
1
answer
114
views
How to implement i18n
I am trying to implement i18n, I have custom labels for that.
/CustomLabels.labels-meta.xml
<?xml version="1.0" encoding="UTF-8"?>
<CustomLabels xmlns="http://soap....
0
votes
1
answer
193
views
UI API: How to retrieve translated values of a picklist using UI API
We are using the salesforce API to consume picklist fields and display it on a webpage on a multilingual community
"/services/data/v49.0/ui-api/object-info/Case/picklist-values/{recordtypeId}/...
2
votes
0
answers
163
views
How to create the Case with Attachments in single Rest API call [duplicate]
I need to create a Case with Attachment(s) in Salesforce using Rest API. The Case Team should be assigned on created Case. Also the Case Feed Item should be created with some text where the uploaded ...
1
vote
1
answer
251
views
"Rename Tabs and Labels": German Translation overrides Object Definition
I can't find any similar issue online and it is making me crazy.
I need to have translations for a Custom Object tab in English and German.
I first adjust the Name for English (let's say I just call ...
0
votes
1
answer
198
views
Keep getting multiple "Required field is missing: valueTranslation" errors while trying to generate a package version with translations
When using the package:version:create command, I'm getting the following errors:
ERROR running force:package:version:create: 8-pt_BR: Required field is missing: valueTranslation,1-pt_BR: Required ...
2
votes
0
answers
207
views
Unable to deploy Contact Salutation values translations in SFDX
I want to be able to deploy Contact Salutation values translations in an environment, from my SFDX project.
My Contact's object translations representation is this:
The content of the file Salutation....
0
votes
0
answers
27
views
how to manage translations in salesforce for the application running outside salesforce? [duplicate]
We are developing an application that will be deployed on a web platform.The backend data is stored in salesforce and what we would like to do is to support multi lingual app. Is there a way where the ...
1
vote
0
answers
267
views
Error when trying to translate Knowledge Articles in a test class
I have a test class in which I'm trying to translate Knowledge Articles into Spanish. Default language is English. If you were to do this from Salesforce UI, you have to publish each version ...
3
votes
1
answer
106
views
Error when creating a local translation in a Packaging Org
I have a class in charge of creating local translations within a custom label, this class is responsible for going into the metadata and creating it. The code is as follows:
global with sharing class ...