> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-mobile-sdk/ios/ios-localization-adding-a-custom-or-updating-an-existing-language-pack.md).

# iOS Localization: Adding a Custom or Updating an Existing Language Pack

Please note: this feature has been implemented in 8.1.0.

To add or update the language pack for Oz iOS SDK, use the `set(languageBundle: Bundle)` method. It shows the SDK that you are going to use the non-standard bundle. In `OzLocalizationCode`, use the custom language (optional).

{% hint style="info" %}
The localization record consists of the localization key and its string value, e.g., `"about" = "About"`.
{% endhint %}

* If you don’t set the custom language and bundle, the SDK uses the pre-installed languages only.
* If the custom bundle is set (and language is not), it has a priority when checking translations, i.e, SDK checks for the localization record in the custom bundle localization file. If the key is not found in the custom bundle, the standard bundle text for this key is used.&#x20;
* If both custom bundle and language are set, SDK retrieves all the translations from the custom bundle localization file.

<figure><img src="https://2532558063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5g6dgsxRbyrCvB0uAf8f%2Fuploads%2F8WDajV3RWG7yAvE7HvIx%2Fios%20lang%20scheme%20840-scheme-v8.drawio.png?alt=media&amp;token=e43f7e19-4cef-49b9-9aa8-373c585c7935" alt=""><figcaption></figcaption></figure>

A list of keys for iOS:

{% file src="/files/MRFTrzQrNwZ54ALAGeqS" %}

The keys `Action.*.Task` refer to the appropriate gestures. Others refer to the hints for any gesture, info messages, or errors.

When new keys appear with new versions, if no translation is provided by your custom bundle localization file, you’ll see the default (English) text.

By default, iOS string file is called `Localizable.strings`. If you want to use another table, set it via the [`set(localizableTableName: "Name")`](/oz-knowledge/guides/developer-guide/sdk/oz-mobile-sdk/ios/ios-sdk-methods-and-properties.md#set-1) method.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-mobile-sdk/ios/ios-localization-adding-a-custom-or-updating-an-existing-language-pack.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
