# Localization Functions

{% hint style="info" %}
Webflow's own default auto-routing feature must be disabled to prevent conflict.&#x20;
{% endhint %}

## Functions

* Get current locale
* Get locales
* Set locale
* Remember locale
* Get preferred locale
* Get locale Url
* Get alt locale Urls

Events

* Locale set
* Locale detected
* Locale pref changed?&#x20;

### Set Locale

Handle failed set ( 404? )&#x20;

Handle failed auto-routing

If it's no longer in the map&#x20;

## Notes

referer?&#x20;

autorouting versioning?&#x20;

Which parts are expedited by Hyperflow?

* Location detection
* Performance&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-localization/localization-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
