Questions tagged [localization]
The localization tag has no usage guidance.
27
questions
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 ...
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 ...
1
vote
2
answers
941
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 ...
0
votes
1
answer
984
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 ...
1
vote
1
answer
379
views
Considerations while using Non-English [say Chinese, Japanese] field names in Data Extension
I tried to create a DE with field with Non-English [Japanese characters]
Found NO issue creating Data Extension
Found NO issue while exporting manually from DE records tab.
Found NO issue while ...
0
votes
1
answer
43
views
Irish localized fieldname identifier unclear, Product recommendations Einstein
I am searching for the right document to implement localized fields for Ireland.
English in Ireland or Irish in Ireland, or both if it differs.
We got this documentation from salesforce, which links ...
1
vote
1
answer
232
views
Salesforce Custom label for lightning component does not kick off localization
We have managed package with lightning component hosted in VF page via lightning out .Localization does not kick off for non-english user .This works perfectly fine in scratch org but not with the ...
4
votes
1
answer
445
views
Aura localizationservice: broken format/parse with some locales
We're having an issue with a custom-build form date input component.
The component formats Javascript date objects into user-friendly strings for user display/input, i.e. "5 May 2019", and then parses ...
0
votes
1
answer
712
views
Localization of custom label to be used in lightning component
//edit 1 - addition of 2 images
Also note that text within the images in communities home page is getting converted but not the custom label in the lightning form contained in the community.
//edit ...
1
vote
1
answer
449
views
Create Localized Email Recommendation Displays - Salesforce marketing cloud
I want to create localized email recommendation displays in Salesforce marketing cloud.
Only documentation I can find is: https://help.salesforce.com/articleView?id=mc_pb_localized_recommendations....
2
votes
1
answer
618
views
Localesidkey value for palestine country
HI I am trying to insert Palestine portal user using apex code, and using ar_PS as a localesidkey but sales force throwing 'bad restricted pick list value'. can anyone tell correct locale code ...
1
vote
2
answers
1k
views
DateTime in Data Extension is 4 hours later than entry data
I've got a journey that uses data entry from Salesforce, specifically when a lead registers for an event an Event Registrant object is created. I am pulling in the Event_Date_Time__c and ...
6
votes
0
answers
1k
views
lightning:input behaves strangely with Non-US(german/french) locale
In my app there are many users with a German or French locale. Both have in common that they use comma as decimal separator (opposed to Apex, JS and US-citizens which use a dot .) The dot instead is ...
1
vote
0
answers
30
views
Language support for Salesforce DuplicateManagement
What are the languages supported by salesforce duplicate management feature?
Unfortunately my attempt to match accounts with languages other than English failed.
Thanks for your time,
Sriram
1
vote
0
answers
60
views
changing the language in the mailing address field into a local language
I have enabled the Map and location settings in my organization to get the address searched. Is there a way to return the address in the local language(just for the address fields) on the detail page ...
1
vote
1
answer
597
views
How do I localize a date field in an SOQL query?
Per the docs on the FORMAT() function, I can localize numeric, datetime, and currency fields in an SOQL query by wrapping the field name in FORMAT(). This does not work for date fields; I either get ...
1
vote
1
answer
206
views
Is there any way to access the Aura $A global instance namespace or AuraLocalizationService through a VisualForce page?
I would like to be able to do something like this:
$A.localizationService.WallTimeToUTC(d, timezone, function(utc) {
displayDate = $A.localizationService.formatDateTime(utc, format, langLocale);
}...
1
vote
1
answer
411
views
Spring 2017 - localizationService method UTCToWallTime returns No dateTime from around 17th Feb, 2017
$A.localizationService.UTCToWallTime(date_utc, localeTimeZone, function(convertedWalltime) {
console.log('convertedWalltime ' + convertedWalltime);
console.log('Time:' + $...
1
vote
0
answers
44
views
How would you go about internationalizing Products?
Here's my problem :
I have a database of products that are localized : the same product (primary key) will have a different name, different characteristics depending on the country and the language ...
9
votes
2
answers
1k
views
Localization Service in Lightning Components
I have a very simple lightning component taken straight from the aura docs that on initialization sets an attribute to a percentage. I noticed that the localization service rounds the value as ...
3
votes
1
answer
1k
views
Are custom labels supported in Lightning Components?
For Visualforce we are using custom labels as described here:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global_label.htm
The usage is very simple:
{!$Label....
5
votes
1
answer
2k
views
How to make numeric inputs Lightning Components respect corret L10N decimal delimiter?
Assume there is a Field aaaNumber__c on Account defined as Number(12,2)
Now I use it like this
<aura:component controller="elfL1" implements="forceCommunity:availableForAllPageTypes,force:...
0
votes
1
answer
396
views
Using toLabel in Data Loader
I am trying to use the following SOQL query in Data Loader expecting to receive a translated Status value:
SELECT Id, Subject, toLabel(Status), CreatedDate FROM Task ORDER BY CreatedDate DESC LIMIT 5
...
4
votes
0
answers
576
views
Get Plural Label in specific language
So I can do something like
Id myId = '999999999999999';
String objectPluralLabel = myId.getSobjectType().getDescribe().getLabelPlural();
This returns the plural label of the object in the current ...
2
votes
0
answers
93
views
List view localization in Managed Package
I know that's a very long story about localization support for list views and report, discussed for example here. But for end users there is a workaround: create the same list views with localized ...
14
votes
3
answers
7k
views
Lightning: How to use Custom Labels inside components?
What is the way to use localized labels from Custom Labels or from field config inside lightning components?
In VF it was possible like:
$ObjectType[sObjectName].fields[fieldName].Type
$Labels....
8
votes
4
answers
10k
views
How to get correct week number in Apex
I am struggling to get the correct week in year for any given date.
Datetime dt = Datetime.newInstanceGmt(2014, 1, 5).addHours(12);
Integer week = Integer.valueOf(dt.formatGmt('w'));
System.debug('...