> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/wordpress/helpers-functions-1/weglot_navigator_language.md).

# weglot\_navigator\_language

Lets you change the list of browser languages Weglot reads from the visitor to decide the redirect language. Useful together with a custom language code.

```php
add_filter( 'weglot_navigator_language', 'custom_weglot_navigator_language' );
function custom_weglot_navigator_language( $navigator_languages ) {
    return $navigator_languages;
}
```
