Questions tagged [localization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Semmel's user avatar
  • 2,272
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 ...
Robert Sösemann's user avatar
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 ...
HeXor's user avatar
  • 215
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 ...
durai sachin21's user avatar
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 ...
Vishal Kumar C V's user avatar
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 ...
Johannes Schapdick's user avatar
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 ...
Debadyuti Sil's user avatar
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 ...
MLucci's user avatar
  • 1,098
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 ...
Mayank Parnami's user avatar
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....
JeroenM's user avatar
  • 43
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 ...
Venkata Mahesh Dasari's user avatar
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 ...
JaredT's user avatar
  • 880
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 ...
Robert Sösemann's user avatar
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
Sriram's user avatar
  • 691
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 ...
aditi sharma's user avatar
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 ...
Neal Groothuis's user avatar
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); }...
amanda fouts's user avatar
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:' + $...
Sriram's user avatar
  • 691
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 ...
Kareem's user avatar
  • 11
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 ...
jmdohn's user avatar
  • 1,044
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....
Uwe Heim's user avatar
  • 28.3k
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:...
Uwe Heim's user avatar
  • 28.3k
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 ...
Randolph's user avatar
  • 163
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 ...
DerekLansing's user avatar
  • 1,097
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 ...
Mike Raven's user avatar
  • 2,133
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....
Natallia's user avatar
  • 3,221
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('...
FrankZ's user avatar
  • 879