---
schema_version: "1"
id: 6537038e581ed3970525b948756e3aea7d427959484b807a1123bdb64c15164f
title: translateFromLocalizedDigits()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-auralocalizationservice-translatefromlocalizeddigits.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-auralocalizationservice-translatefromlocalizeddigits.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 27ae6a59cd749c1a34c5549f0be566770febc980d1baf86986f6e4c0a1161eb3
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# translateFromLocalizedDigits()

Translate the localized digit string to a string with Arabic digits, if there is any.

## Signature

`translateFromLocalizedDigits(string input)`

## Parameters

**_input_:** Type: `string`. A string with localized digits.

## Returns

**Type: `string`** A string with Arabic digits.

