The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
50 views

Accessing Custom Labels through Batch Apex

We have a mobile application which needs custom labels for different languages through Salesforce custom labels. Because of API limit on metadata api, we are planning to store all the required custom ...
1
vote
0answers
22 views

Categories field on Custom Labels

Is the Categories field on Custom Labels merely for use in List View filters? Can I not download a file of Custom Labels and their translations, filtering on Categories? Even the Translation Workbench ...
2
votes
1answer
82 views

Language Translation for picklist values in VF Page

There are 2 picklist fields in my VF page. I successfully translated the whole VF page using custom labels (into Spanish), but the picklist values are not translated. How to translate them? Here's ...
3
votes
1answer
89 views

How to Escape Single Quotation Mark in String.format

I'm using the translation workbench to translate a custom label(mail's body) to English. In the message, there was a word "haven't". When I check the test email, the word showed up as "havent". I ...
2
votes
1answer
64 views

Can a validation rule error message resolve to a custom label?

Is there anyway to make the error message of a validation rule resolve to a custom label? The following url indicates that it's not possible, but I just wanted more verification: ...
1
vote
1answer
44 views

Can I late translate labels in Salesforce Apex - Dynamic lookup of Label texts?

We need to store messages in the database. We could store the English text, but this could be less friendly if a French user wanted to review the messages. Is there a way I could look up a Custom ...
1
vote
2answers
98 views

pass parameter to custom label from javascript

I have a custom label that prints 'Enter at least 2 characters to search.' I would like to make the 2 a parameter that gets passed in so that the user can adjust it at their discretion. So the label ...
5
votes
3answers
101 views

How do I pass a variable to a custom label?

I have this custom label in a Visual Force page: {!$Label.fb_contact_cs_title} I want to first have an in-page conditional statement. Then I want to put that variable into the custom label. {! if ...
2
votes
1answer
27 views

Access custom labels from Native iOS app

We are developing Native iOS app which is using Salesforce SDK. Is there a way to fetch custom labels from Salesforce using SDK ? (like using RESTapi)
3
votes
1answer
50 views

Parameterized Custom Label

Is there a way to parameterize a custom label? Example: Label name: MyTestLabel Label value: Thank you, {0}, for your feedback. Then in Apex, do something like this: String name = 'John'; String ...
3
votes
2answers
65 views

Is there a way to write to a Custom Label via Apex?

Is there a way to write to a Custom Label via Apex? The online documentation doesn't outright say that you can't, but I'm guessing it's called a 'custom label' rather than a 'custom variable' for a ...
4
votes
1answer
135 views

Need .stf example

Got stuck with importing translations of custom labels. I'm using translation workbench and its import file page. Base file for my import is one exported by Salesforce workbench with some edits. ...
14
votes
2answers
1k views

Custom labels in javascript

How one can access custom labels in javascript linked as separate static resource? For example, some user action on the page should trigger confirmation dialog with custom message. And this message ...
1
vote
1answer
91 views

Translate Salesforce Standard functionality in to other language

Here i am use customer portal.And want to translate whole customer portal into other language like german,french,spanish,etc.I cover custom functionality with the help of custom label,workbench ...
1
vote
1answer
111 views

Get Custom Labels node.js

What is the easiest way to get a custom label with a node.js app? I'm using nforce, but surprisingly don't see any api methods to get custom labels.
1
vote
2answers
31 views

Customize User SObject field labels

How can I customize the custom field labels of the User SObject? For other SObjects you can use the "Rename Tabs and Labels" setup entry. However, because the User SObject has no Tab, this isn't ...
6
votes
1answer
239 views

How to handle errors when using dynamic Custom Labels referencing?

Any ideas how to prevent error when trying dynamically access label which doesn't exist? Check somehow whether it exists before referencing or maybe catch this error. Here is my page: <apex:page ...
0
votes
2answers
56 views

Create custom label for Opportunity.AccountID

It seems Salesforce doesn't allow me to create a custom label for this field. Aside from overriding the Opportunity's page layouts with custom visualforce pages, what are my other options?
5
votes
2answers
341 views

Using <apex:actionRegion> makes my labels disappear

The question is quite simple, yet, I'm unable to answer it myself. Is there any solution to stop my label from a selectRadio/selectList/anything from disappearing everytime I use an action region? I ...
16
votes
1answer
217 views

Do Custom Labels created by managed packages count against an Org's limit of 5,000 Custom Labels?

As of Winter '14, Salesforce imposes a limit of 5,000 Custom Labels per Org. That sounds like a lot, and would be for most Orgs, but I've noticed that many managed packages create a LOT of Custom ...
0
votes
1answer
73 views

Custom Labels in Summer 13 release

I cannot find where Salesforce is hiding the custom labels in Salesforce for Summer 13 version I have google and got this: From Setup, in Create | Custom Labels, click New Custom Label to create ...
1
vote
1answer
60 views

Can we use Custom Label in additional email address

Is it possible to user Custom labels in Addition email address field on Approval process email alerts?
1
vote
0answers
174 views

Facing problem in Deploying custom label using package.xml

I am facing a problem while deploying custom label through in package.xml using ANT. I am using AGLI_SCH_Valid_Msg CustomLabels but error is coming up like entity is not found ...
4
votes
1answer
112 views

How do I add a custom label via the Force.com IDE?

I am trying to save time by adding custom labels directly in the CustomLabels.labels file using the Force.com IDE. Say I have a label like this: <labels> ...
3
votes
2answers
3k views

Label does not get displayed

I am using a apex:inputField in my vf page. This apex:inputField is in page block with apex:inputField their is also a apex:selectOption, to reduce the space between these 2 fields i put them in a ...
6
votes
2answers
3k views

possible to access custom labels dynamically?

In apex you can reference a custom label with system.Label.labelName, but is there a more dynamic way to get a custom label for example system.Label.get(labelName)? I can't find anything like this in ...
1
vote
2answers
316 views

Need help on creating multilingual site

We have a requirement to create a force.com site in 2 languages english and spanish. We plan to use custom labels to display content on spanish but our content exceeds more than 5000 custom labels ...
9
votes
2answers
476 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 ...
2
votes
3answers
2k views

Combine Custom settings with Custom Labels

Is there a way to combine custom settings with custom labels ? So that the output from a setting value would be a custom label ? To explain: In example, we have an international organisation, and ...