Posted on 10/09/2024 15:06:47
Hi Jonas
Currently you van only change that directly in the template:
\Files\Templates\Designs\Swift\Swift_Preferences.cshtml
There is this line of code in line 254:
<span class="align-middle">@language.Area.DisplayName</span>
Which can be changed to one fo these:
<span class="align-middle">@language.Area.Name</span>
<span class="align-middle">@language.Area.Title</span>
<span class="align-middle">@language.Area.CultureInfo.NativeName</span>
Using either the name of the website from the backend, the title specified on the website settings or the "Native name" of the region info selected on the website settings.
The last option will give you the name of the country in its native name - and some additiional info. You might be able to do this to get only the name:
<span class="align-middle">@language.Area.CultureInfo.NativeName.Split('(')[0].Trim()</span>
BR Nicolai