Problem with translation in ASP.NET Core via ASP.NET Core localization in _Layout.cshtml

I am trying to learn programming in ASP.NET Core by making simple programs, but I got stuck with translating some parts of texts by using a localization feature.
For example, I created Resources and folders with all needed resource files with translated words and phrases. For _Layout.cshtml i created Resources -> Views -> Shared -> _Layout.en.resx and _Layout.fr.resx

Best practices for ASP.NET web application localization

I’m developing a web application that will need to be localized to English and Portuguese (and possible more languages later). I’m aware that the .NET Framework offers full support for UI localization, however, I’m not so sure what’s the best approach to implement it. What do you consider the best practices for a web application … Read more

Global resource vs. Local resource in ASP.NET

We use resx files to localize our web applications. We usually create local resx files (that map to a specific page) when only one page uses a certain phrase, and a global resx file when more than one page needs the phrase.
But the good thing about global resx files is that they are a class, and you can call the phrases like you call properties of a class:

Javascript Date Localization

I’m working with an ASP.NET app with localization and globalization. I’m having some difficulty understanding how to get the Date() function in javascript to work properly given the user’s environment. My user base is split between Mexico (spanish) and the US (english). Since the Mexico date format is dd/mm/yyyy and the english format is mm/dd/yyyy, the standard Date(strDate) javascript constructor does not work for me.