Questions tagged [translation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
2answers
2k views

Custom Labels In Force.com Site

I have enabled Translations, with languages English and Russian. I have made one Custom Label and added a Russian translation. I have added that Custom Label to my Force.com Site. What do I need to ...
5
votes
1answer
1k views

Describe/use picklist values in specific language, not the User's language

This Salesforce org includes English and Italian versions of field labels and picklist value labels. This works find within the UI, and for most purposes. However, we have a custom CSV upload page ...
3
votes
2answers
496 views

Deployment error regarding translations when generating package version

In a scratch org where the translation workbench is enabled, I added English as a supported language (the language for the organization is Japanese) and ran the command sfdx force:source:pull, which ...
2
votes
2answers
1k views

need to make salesforce app available in multiple language

I want to make my appexchange app available in multiple language like Spanish, dutch etc. so that depend on the language of the user they can access the app. Is it possible in any way.. any help ...
7
votes
1answer
8k views

Assign language Value dynamically in Visualforce page

I am trying to assign the language dynamically in a Visualforce page which I have specified in controller. Right now it is hard coded as <apex:page language="de"> ........ </apex:page> ...
7
votes
2answers
1k views

Lightning components: Custom label translation not working in managed package

I'm developing a lightning component as part of managed package. Translations work when I'm inside the development org, but I get only English values when using the component in my test org where I ...
6
votes
1answer
912 views

APEX: access profile by name in known/predictable language regardless of running user's language [duplicate]

It was recently brought to my attention that for our clients, SalesForce translates profile names (such as "System Administrator") which causes errors when the Apex code attempts to check profile ...
2
votes
2answers
1k views

LWC: how to dynamically get translated value from Label

In Aura we used to do this: let labelName = 'mylabel'; $A.getReference("$Label.c."+ labelName); In LWC $A is not accessible anymore. Following the documentation I can only see a way to get access ...
10
votes
2answers
6k views

Get Label value for specified language

I'm trying to implement a preview screen with a picklist of available languages and a textbox with translated text. The problem is System.Label.My_Preview_Text or $Label.My_Preview_Text are already ...
6
votes
2answers
6k views

Metadata API : How to get the translated values of picklists of my object

Wanna get the translated values of picklists of my object? How can I get them in Apex. I tried using Metadata APi but invain. Can anyone suggest me?
5
votes
2answers
568 views

Dealing with different word order in a multi-language application?

I am developing a multi-language application which supports English and Japanese. But, as everyone might have known, the language structure of these two languages are quite different. For example, ...
4
votes
1answer
733 views

Is there a good way to “untranslate” picklists in Apex?

The project I am working on supports many languages and Case record types. There is also a large amount of dependency between the Case record type and the Case type field (but it isn't one-to-one and ...
4
votes
1answer
391 views

How to programmatically double apostrophes in custom label translations?

I have a custom label which contains a couple of parameters: Hello, {0} the other param is {1}. I wish to output this value in a Visualforce Page like so: <apex:variable var="firstParam" value="...
3
votes
1answer
668 views

Custom Object missing from English translation in Translation Workbench but not other languages

I'm trying to rename a managed package custom object's related list label through the Translation workbench using this article as a guide. When selecting "English" as the language and the Setup ...
2
votes
1answer
84 views

Migrate Standard Help Text translations and Person Account Translations through ANT

I need an automated way to migrate the Help Text translations for standard fields and Person Account Record Type translations from a source org to a series of destination orgs(800+). I am not able to ...
2
votes
0answers
593 views

Rendered not working translated picklist value radio buttons

Im trying to translate visualforce page. I have used custom labels to built the page. the page is translated good. For picklist values I used the below code, the picklist values are also translated ...
1
vote
0answers
159 views

Make translation for task created email depending on language settings of recipient

If you assign a task to an user with e.g. english as language, I would expect the notification email he receives to be in his language. What I observe is that he gets the notification in the language ...
1
vote
1answer
3k views

How is possible translate a Custom Tab label in different languages?

is it possible to translate a custom object tab into multiple languages??? automate translation is not done for our custom object tabs... How to fix this issue??? any one can help me.....
1
vote
1answer
4k views

How to retrieve translations using Metadata API?

I'm trying to deploy the work that was done via Rename Tabs and Labels and Translation Workbench using Workbench and the Metadata API. According to this answer, my package.xml should look like <...
0
votes
2answers
2k views

How to translate custom tabs and labels through export/import of translation files a la translation workbench

I am interested if there are ways to export/import translation files for the custom and standard tabs and labels, just like how it's done in the translation workbench for custom fields, etc. I ...