# List of countries

Inside a function, you can use `#$loop|{getCountries}|{item}| $#`

* `{item}` Name of the country (it creates a new locale so it can be translated)&#x20;
* `{loop_key}` Country code

{% code title="function/countries.html" %}

```markup
#$loop|{getCountries}|{item}| $#
    <option value="{item}">{item}</option>
#$/loop|{getCountries}|{item}| $#

or

#$loop|{getCountries}|{item}| $#
    <option value="{loop_key}">{item}</option>
#$/loop|{getCountries}|{item}| $#
```

{% endcode %}

AF => Afghanistan\
AX => Aland Islands\
AL => Albania\
DZ => Algeria\
AS => American Samoa\
etc...

{% hint style="info" %}
The locales created for countries are only editable in the **locales of the themes** (not at website level). (Galaxy > Theme > your-theme > Locales)
{% endhint %}
