Docs
API 1.39
Status
Fields

locale

The `locale` option of an extract field.

A BCP-47 locale such as tr that sets the decimal, thousands and date defaults for parsing. Kaabist does not guess it; lint warns W005 when a numeric sample is ambiguous without it.

Type: string

#Example

{
  "amount": {
    "selector": "td[data-col=amount]",
    "type": "money",
    "locale": "tr"
  }
}

From the contract fixture login-2fa-checkpoint-report, a program the test suite validates.

Was this page helpful?