---
title: "UseUiLanguageLoader"
isDefaultIndex: false
generated: true
---
<!-- This file was generated from the Vendure source. Do not modify. Instead, re-run the "docs:build" script -->
import MemberInfo from '@site/src/components/MemberInfo';
import GenerationInfo from '@site/src/components/GenerationInfo';
import MemberDescription from '@site/src/components/MemberDescription';


## useUiLanguageLoader

<GenerationInfo sourceFile="packages/dashboard/src/lib/hooks/use-ui-language-loader.ts" sourceLine="15" packageName="@vendure/dashboard" />

Loads the UI translations for the given locale and activates it
with the Lingui I18nProvider. Generally this is used internally
when the display language is set via the user > language dialog.

```ts title="Signature"
function useUiLanguageLoader(): void
```
