# Radzen Culture (iterate each locale by its value)

**URL:** <https://forum.radzen.com/t/radzen-culture-iterate-each-locale-by-its-value/5404>\
**Category:** Blazor Server\
**Created:** [October 26, 2020, 3:00pm UTC](https://forum.radzen.com/t/radzen-culture-iterate-each-locale-by-its-value/5404 "2020-10-26T15:00:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svrebelo001](https://forum.radzen.com/user_avatar/forum.radzen.com/svrebelo001/32/4796_2.png) [@svrebelo001](https://forum.radzen.com/u/svrebelo001)\
**Post date:** [October 26, 2020, 3:00pm UTC](https://forum.radzen.com/t/radzen-culture-iterate-each-locale-by-its-value/5404/1 "2020-10-26T15:00:43Z")

</div>

Hello everyone,

I'm trying to add a logo for each culture but i'm having difficulties to understand the value retrieved.

```
          <RadzenDropDown Data="@(new[] { new { Text="Portuguese - Portugal", Value="pt-PT" },new { Text="English - United States", Value="en-US" }})" TextProperty="Text" @bind-Value="@Culture" ValueProperty="Value" Name="Dropdown1" Change="@Dropdown1Change">
          <Template Context="data">
              @{
                  foreach (var locale in Culture)
                  {
                      var country = locale;
                  }
              }
          </Template>
      </RadzenDropDown>

```

The value I'm getting is like 112 'p' - what is the meaning of this???

Thanks in advance

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 26, 2020, 3:08pm UTC](https://forum.radzen.com/t/radzen-culture-iterate-each-locale-by-its-value/5404/2 "2020-10-26T15:08:34Z")

</div>

Iteration of strings usually gives you the string chars

---

<div class="post-metadata">

**Author:** ![svrebelo001](https://forum.radzen.com/user_avatar/forum.radzen.com/svrebelo001/32/4796_2.png) [@svrebelo001](https://forum.radzen.com/u/svrebelo001)\
**Post date:** [October 26, 2020, 3:09pm UTC](https://forum.radzen.com/t/radzen-culture-iterate-each-locale-by-its-value/5404/3 "2020-10-26T15:09:18Z")

</div>

@enchev What I would like to do is retrieve the value of the dropdown (ex: pt-pt) and place the country image accordingly
