Posted on 16/10/2024 12:43:09
.NET uses ISO 639 for language codes and ISO 3166 for country codes.
The two letter ISO country code for Greece is "GR" and the "EL" country code is unassigned (not in use):
https://www.iso.org/obp/ui/#iso:code:3166:GR
https://www.iso.org/obp/ui/#iso:code:3166:EL
The two letter ISO language code for Greek is "el" (Ελληνικά).
https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1=el
A complete culture code (language and country) would then be "el-GR" (Greek - Greece).
In templates you can either use the "UserManagement.CountryList" template loop or call Dynamicweb.Security.UserManagement.User.GetRegions() in order to render a dropdown with all supported countries.