---
title: localizedStringWithFormat
framework: Installer JS
role: pseudoSymbol
path: installer_js/system/1812327-localizedstringwithformat
---

# localizedStringWithFormat

Provides the formatted localized string in the installation package for the current locale, for a given key and a set of additional arguments.

## Declaration

```data
localizedStringWithFormat(stringKey, args...)
```

## Parameters

- `stringKey`: A string that identifies the desired localized string.
- `args...`: Arguments that replace placeholders (%@) in the formatted localized string.

## Return Value

Return Value The localized string, if found in the installation package; null otherwise.

## See Also

### Internationalizing Distributions

- [localizedString](installer_js/system/1812321-localizedstring.md)
