Support for English (United Arab Emirates) in Azure App Services or possibly VMs

Tony Schollum 11 Reputation points
2021-07-22T04:11:54.977+00:00

We have a customer in the UAE we would like to support.
They would like AED currency but English dates which are supported in the English (United Arab Emirates) locale.
It appears this locale is not yet available in Windows Server (other than v2004) which won't work for us in App Services or our current VM's.
Our application depends on the serving OS for it's available locales (System.Globalization.CultureInfo.GetCultures).
Perhaps we haven't followed best practice by depending on the underlying OS for this?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,516 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: This tag is no longer in use. Please use 'Azure Startups' instead.
75 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,268 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Chun Liu 21 Reputation points
    2021-07-22T07:47:30.783+00:00

    You are right, according to this document, en-AE locale is only available on Windows 10/Server v2004 and later versions.

    So you might have 2 options here depending on where your application is deployed.

    1. If your application is deployed to VMs on which the OS is the older version of Windows, you can use this tool, Locale Builder 2.0, to build a custom locale for en-AE and install it on the VMs. You might not need to change your code in this way.
    2. If your application is deployed to App Service or other PaaS services on which you cannot deploy custom locales, you would want to consider moving your code to .NET 5. The globalization of .NET 5 uses ICU by default. You can use an app-local ICU which supports en-AE.

    Hope it helps. Thanks.

    4 people found this answer helpful.
    0 comments No comments