Language code Resource file "es-XL" Spanish Latin America not created dll Visual studio2019 MVC C#

Anonymous
2023-06-01T18:50:12.8466667+00:00

We have support for multiple languages in our application using resource files with the below language code. English - en-Us ,German - de-DE , Spanish(Latin America) -ex-XL ,French - fr-fR

While using visual studio 2012 Professional when building resource files solution, the respective language code folder dll was created or modified.

But when have shifted to Visual Studio 2019 Profession Edition resource files Spanish ex-XL dll was not created with the ex-XL folder so it displays English text instead of Spanish. other languages folders were created with respective language codes and displayed content that specifies languages.

We have implemented applications in MVC and C# using .Net framework 4.6.1.I have installed Spanish language pack on my machine Spanish (Latin America) and Spanish (Spain)

Spanish es-ES language code dll is created in es-ES bin folder and working fine localization but not working Spanish with language code es-XL not created folder and *.es-XL.dll.

Your suggestions are welcome.

Developer technologies | Visual Studio | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 30,191 Reputation points Microsoft External Staff
    2023-06-02T03:17:12.08+00:00

    Hi @Sunil Patekar,

    Spanish es-ES language code dll is created in es-ES bin folder and working fine localization but not working Spanish with language code es-XL not created folder and *.es-XL.dll.

    According to Microsoft's documentation, the latest list of Windows Language Code Identifiers (LCIDs) does not include es-XL. I think that's why it doesn't compile.

    https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c?redirectedfrom=MSDN

    User's image

    User's image

    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.