# useLanguageLoad

Whether the messages for the language the person chose have failed to load,
and a way to try again, or `undefined` when the host offers no languages. The
interface stays in the language it was in until a load succeeds, so a status
built from this reads in that language. [`LanguageLoad`](https://docs.mapcairn.com/api/map/LanguageLoad.md) also works
when the setting has not changed, which a failed load otherwise waits for.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { useLanguageLoad } from "@mapcairn/map";
 
function useLanguageLoad(): LanguageLoad | undefined;
```

## Returns

`LanguageLoad | undefined`

## See also

- [`LanguageLoad`](https://docs.mapcairn.com/api/map/LanguageLoad.md)

Source: [packages/map/src/services/hooks.ts:159](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/services/hooks.ts#L159)
