---
title: "Locale"
description: "This example shows how to define a locale composable to handle the application's locale, both server and client side."
canonical_url: "https://nuxt.com/docs/examples/advanced/locale"
---
# Locale

> This example shows how to define a locale composable to handle the application's locale, both server and client side.

::code-explorer{path="examples/advanced/locale" default-value="composables/locale.ts"}
::

::browser{src="https://locale.example.nuxt.space"}
::

---

- [Source](https://github.com/nuxt/examples/tree/main/examples/advanced/locale)


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
