It is important to take localization and translation into consideration from the beginning as it can become difficult and costly to apply it later. Fortunately, the platform can do a lot of work for you.
When using the native user interface, it automatically formats the values of the numeric and date fields according to the Locale field on the
user profile. Visualforce pages. Using the
It's not always possible to use the Visualforce
apex:outputField tags as described earlier in this chapter. For example, if the information you are displaying is not contained within a Custom Object field, but in some calculated view state in your Apex Controller. The format methods on various type classes such as