# Localization label

<figure><img src="https://3723856256-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGnixyIfIYFWroNtVmZo6%2Fuploads%2Fgit-blob-990ab0599fd0d1e91898bd7d988d56d2ac3768dd%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Overview

A block component that displays the current localization information including country flag, currency, and language.

## Common use cases

* Use in header or footer areas where localization information needs to be displayed
* Consider the space available when enabling padding options
* Ensure proper translation strings are set up in the theme's locale files
* Can be combined with localization form for currency/language switching functionality

## Block settings

### General

| Setting                | Description                 | Options                   |
| ---------------------- | --------------------------- | ------------------------- |
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |

### Content

| Setting                  | Description                                         | Options                                               |
| ------------------------ | --------------------------------------------------- | ----------------------------------------------------- |
| Localization label style | Controls what localization information is displayed | <p>• Summary (default)<br>• Country<br>• Language</p> |

### Spacing

| Setting                   | Description                              | Options                   |
| ------------------------- | ---------------------------------------- | ------------------------- |
| Enable horizontal padding | Adds horizontal padding around the label | Checkbox (default: false) |
| Enable top padding        | Adds top padding around the label        | Checkbox (default: false) |
| Enable bottom padding     | Adds bottom padding around the label     | Checkbox (default: false) |

### Display

| Setting    | Description                        | Options                                                                                                                            |
| ---------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Visibility | Controls when the block is visible | <p>• All (default)<br>• Mobile only<br>• Desktop only</p><p><br><br>Visible when <strong>Show advanced settings</strong> is on</p> |
