The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
51 views

Date and Number locale problem on html5 input type=date/number

Question Is there any chance to send data in generic date format (yyyy-mm-dd) in standard save method? I need to user apex:input type="date" (or number). But Salesforce save method is not ...
0
votes
0answers
25 views

Determine country of Sites Guest User (Anonymous user)

We have a site built on Communities and Force.com sites. What's the best way of determining which country a guest / anonymous user came from on a Force.com sites page? For registered users, we can ...
1
vote
0answers
15 views

Using native translations in custom pages

Salesforce corporation has done most of the work translating the out-of-the-box app into a few dozen languages. This includes translations of Object, Field and Action names, which are relatively easy ...
0
votes
1answer
101 views

Translation, Localization and Internationalization Best Practices

There are plenty of things to keep in mind when trying to allow translation, localization and internationalization (t8n, l10n, i18n) in any framework. Salesforce has a whole infrastructure built ...
2
votes
2answers
30 views

es_NI locale not supporting for salesforce

When registering community user for NICARAGUA country "es_NI" Locale not supporting, but its supporting "es" locale. Why salesforce not supporting this particular locale and how can i solve this ...
1
vote
0answers
24 views

My User LanguageLocaleKey gets overridden

I am trying to change my LanguageLocaleKey from "es" to "en_US". I go to Workbench update the record, get the confirmation screen and when I look at the field, it changed back to "es". What could it ...
2
votes
1answer
87 views

Is it possible to make apex:input “locale aware”?

I want to use the fairly new input types that HTML5 defines. In Salesforce, the different types are: date, datetime, datetime-local, month, week, time, email, number, range, search, tel, text, and ...
2
votes
2answers
265 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')); ...
3
votes
1answer
169 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 ...
7
votes
2answers
811 views

Which decimal symbol is used in the current user's Locale

For complicated reasons I need to find out which symbol (dot or comma) is used for Decimals in the current User's Locale. Is there any way to find that out using Apex or formulas?
9
votes
2answers
4k views

Format decimal in <apex:outputText> respecting the user's Locale

I'd like to format a decimal number in an <apex:outputText> respecting the user's locale: Using {0,number,####.###} should show a German user 10,234 and an American user 10.234 The ...
1
vote
1answer
127 views

Determining number separator when inputHidden doesn't format a currency number

If I return an object with a currency field, and I'm returning it from a controller. If I use an <apex:inputField>, the number is correctly formatted as 1,234.56. However, if I use an ...
1
vote
1answer
1k views

How to use locale settings for decimal separator

How can i use Locale setting to know decimal separator? I read on net that - The Salesforce locale settings determine the following display formats: * Date and time * Users’ names * Addresses ...
3
votes
1answer
206 views

change Locale in Visualforce

Here we are discussing about localization in Visualforce, we know best practices that involve HOW to implement localization, Custom Labels and such. We are looking for a smart way to implement the ...
3
votes
1answer
621 views

Localization in Salesforce

Here we are discussing about localization in Visualforce, and we know these two solutions: 1) use cookies 2) use a parameter on the URL that specifies the language selected by the user Is there any ...
5
votes
1answer
106 views

Force.com IDE adds localized fields on sync?

I have a project that I keep in Git and use ant most of the time to deploy it to dev orgs and the production org where we create the package. When I sync the project with the development environment ...
9
votes
1answer
2k views

How to access the Organization “Currency Locale” ISO Locale code (NOT Currency code) in Apex/SOQL

First of all, before telling me that this is a duplicate of the previously-asked question "Display currency symbol", READ THE WHOLE QUESTION. Summary: I am trying to replicate the functionality of ...
7
votes
2answers
2k views

Default currency symbol

I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be ...