AgileApps Support Wiki Pre Release

Difference between revisions of "Localization"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 15: Line 15:
:* Entering [[Search]] data  
:* Entering [[Search]] data  
:* Specifying [[HowTo:Filter a View to Restrict the Records it Displays|Filter Criteria]] for a [[View]]
:* Specifying [[HowTo:Filter a View to Restrict the Records it Displays|Filter Criteria]] for a [[View]]
{{Note|<br>'''Dates and Times''' are always specified in the User's preferred format, regardless of context.}}


===Rules and Imports===
===Rules and Imports===
Line 20: Line 22:
:* Specifying numeric values for a [[Rule]]
:* Specifying numeric values for a [[Rule]]


Ideally, that format will also be used:
Ideally, that format will also be used when:
:* Supplying numeric data for an [[Import]] operation
:* Supplying numeric data for an [[Import]] operation


There are two exceptions:
''Exception:''
:* '''Dates and Times''' are always specified in the User's preferred format.
:* In a '''Pre-import''' Rule, numeric data is not coming from the database. In that context, the raw data can be accessed, exactly as it is in the data set. If the numeric data is in localized form, the Java [[Localization Functions]] can be used to convert the numeric fields to Database Format.
:* In a '''Pre-import''' Rule, numeric data in a localized format can be converted to the Database Format.


===Java Programming===
===Java Programming===

Revision as of 01:38, 23 August 2013

About Localization

Localization is the process whereby a user interacts with platform using their preferred language and data formats.

Working with Localized Values

Platform Settings

The Locale Settings

The Translation Workbench can be used to support additional languages.

Interface Interactions

When working with the platform GUI, data is typically displayed and entered in User Format, as determined by the user's Locale Settings.

There are exceptions, however. When specifying numeric values that will be used in a direct comparison against database data.
In those cases, the Database Format must be used:

Notepad.png

Note:
Dates and Times are always specified in the User's preferred format, regardless of context.

Rules and Imports

The Database Format for numeric values must also be used when:

  • Specifying numeric values for a Rule

Ideally, that format will also be used when:

  • Supplying numeric data for an Import operation

Exception:

  • In a Pre-import Rule, numeric data is not coming from the database. In that context, the raw data can be accessed, exactly as it is in the data set. If the numeric data is in localized form, the Java Localization Functions can be used to convert the numeric fields to Database Format.

Java Programming

JavaScript Programming

REST Programming

When using the REST API, all data is specified in Database Format:

Field Format
Date, DateTime, Time
Currency, Number,
Number with Decimal,
Percent
  • No currency symbol or percent sign
  • No grouping characters (e.g. commas) in whole-number portion
  • A decimal point (.) before fractional portion

Ex: 84954.32

Lookup
  • The Record ID of a record in the target object.

Ex: 123A456B78

Multi Object Lookup

Ex: 849Z:123A456B78