Mickeysoft, y u do dis!?
-
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD). The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0). It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like. Really great, kudos to Microsoft, except... IT'S ALL IN ELEPHANTING ENGLISH! :mad: I've searched for a way to localize the default pages, but I can't find a proper solution. When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code. Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references :sigh: It's quite a lot, so it keeps me off the streets and working for my money. Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff :sigh:
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD). The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0). It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like. Really great, kudos to Microsoft, except... IT'S ALL IN ELEPHANTING ENGLISH! :mad: I've searched for a way to localize the default pages, but I can't find a proper solution. When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code. Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references :sigh: It's quite a lot, so it keeps me off the streets and working for my money. Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff :sigh:
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
Don't they teach you in the Netherlands that the planet begins at Maine and ends at California? :) :sigh:
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD). The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0). It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like. Really great, kudos to Microsoft, except... IT'S ALL IN ELEPHANTING ENGLISH! :mad: I've searched for a way to localize the default pages, but I can't find a proper solution. When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code. Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references :sigh: It's quite a lot, so it keeps me off the streets and working for my money. Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff :sigh:
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
We had many similar issues at my last firm which was a US (but 'international') company. On a number of occasions I tried to get changes made so things worked everywhere, not just in the USA. The response was always the same, "We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!".
-
Don't they teach you in the Netherlands that the planet begins at Maine and ends at California? :) :sigh:
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
¿Que? (43 million Americans speak Spanish as a first language)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!
-
We had many similar issues at my last firm which was a US (but 'international') company. On a number of occasions I tried to get changes made so things worked everywhere, not just in the USA. The response was always the same, "We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!".
There's a chicken-and-eggs concept in play, here. They may look at their sales and decide that for the number of overseas sales that have in non-English speaking countries it's not worth the cost of creating/maintaining the application in alternate languages. But, It may be that their sales would increase dramatically if they did add the additional language(s). Were I to guess, I'd say that the answer may well depend upon the size of the company and how much they can afford to gamble on such a venture.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Don't they teach you in the Netherlands that the planet begins at Maine and ends at California? :) :sigh:
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
I thought it started at Maine and ended at Coon :-\
-
We had many similar issues at my last firm which was a US (but 'international') company. On a number of occasions I tried to get changes made so things worked everywhere, not just in the USA. The response was always the same, "We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!".
Richard MacCutchan wrote:
"We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!"
It's not as bad as that. It just means "when Hell freezes over." :laugh:
Robust Services Core | Software Techniques for Lemmings | Articles
-
I thought it started at Maine and ended at Coon :-\
Only for Sander.
Robust Services Core | Software Techniques for Lemmings | Articles
-
There's a chicken-and-eggs concept in play, here. They may look at their sales and decide that for the number of overseas sales that have in non-English speaking countries it's not worth the cost of creating/maintaining the application in alternate languages. But, It may be that their sales would increase dramatically if they did add the additional language(s). Were I to guess, I'd say that the answer may well depend upon the size of the company and how much they can afford to gamble on such a venture.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Richard MacCutchan wrote:
"We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!"
It's not as bad as that. It just means "when Hell freezes over." :laugh:
Robust Services Core | Software Techniques for Lemmings | Articles
-
¿Que? (43 million Americans speak Spanish as a first language)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!
Muy pocos estadounidenses hablan inglés; La mayoría habla americano.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
We had many similar issues at my last firm which was a US (but 'international') company. On a number of occasions I tried to get changes made so things worked everywhere, not just in the USA. The response was always the same, "We'll take that under advisement". Which is a phrase that I have never really understood; but I am pretty sure it means, "screw you buster!".
A developer will mention it to his manager, who'll answer "no" and then they've "taken it under advisement" :D Perhaps they even have it documented somewhere so that if you sue them they'll be able to say "we considered it, but after much thought voted against it." ;)
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
A developer will mention it to his manager, who'll answer "no" and then they've "taken it under advisement" :D Perhaps they even have it documented somewhere so that if you sue them they'll be able to say "we considered it, but after much thought voted against it." ;)
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD). The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0). It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like. Really great, kudos to Microsoft, except... IT'S ALL IN ELEPHANTING ENGLISH! :mad: I've searched for a way to localize the default pages, but I can't find a proper solution. When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code. Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references :sigh: It's quite a lot, so it keeps me off the streets and working for my money. Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff :sigh:
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
Having been to the USA umpteen times that does not surprise me at all. Most of the population there is hardly aware that there is something like a world outside of the USA. What do you expect when even their own president hardly knows any other country than Mexico, Russia and China. One of them being more or less OK, the other two ones obvious enemies. When Belgium is part of Brussels they obviously should be able to speak murrican, not the other three dumb official languages in this corner of the world.
-
Having been to the USA umpteen times that does not surprise me at all. Most of the population there is hardly aware that there is something like a world outside of the USA. What do you expect when even their own president hardly knows any other country than Mexico, Russia and China. One of them being more or less OK, the other two ones obvious enemies. When Belgium is part of Brussels they obviously should be able to speak murrican, not the other three dumb official languages in this corner of the world.
fd9750 wrote:
Having been to the USA umpteen times that does not surprise me at all. Most of the population there is hardly aware that there is something like a world outside of the USA.
Examples?
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD). The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0). It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like. Really great, kudos to Microsoft, except... IT'S ALL IN ELEPHANTING ENGLISH! :mad: I've searched for a way to localize the default pages, but I can't find a proper solution. When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code. Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references :sigh: It's quite a lot, so it keeps me off the streets and working for my money. Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff :sigh:
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
OK, I can easily understand your frustration. Yet, at system level, MS has been way ahead of the major competitors with regard to internationalization, all since Windows 1.0: If you accept to call Win 1.0 an "OS" (it was more so than DOS, even in version one!), it probably was the first OS to use as their core OS character set one that coveres the majority of the European languages: ISO 8859-1. MS was also very early to provide alternatives using other 8859-? variants outside Europe/America, with high quality translations of the user interface components. Surely, in 16-bit Windows, i.e. up to Win98, system components were not language flexible. If my memory is correct, Charles Petzold (The Windows programming tutor!) provided detail instructions on how to dynamically link DLLs into your application according to the user's language preference. I never programmed Win1.x myself, but I did program multi-language application under Win 2.11. Since then, fully internationalized applications have been readily available. The programming methods described are in every serious textbook on Windows programming. No application developer is forced to provide DLLs for Sami and Greek, but it all depends on the developer - the required mechanisms have been available for thirty years. Handling everything from simple 26-letter English to many-thousand ideographs Asian languages in a single application requires Win32, using UTF16 as its native character set. Win NT is 26 years old. Which other OSes had core support for UTF16 at at that time? When MS started shipping an Arial Unicode TrueType font with their OS, it certainly didn't include all characters, but all those required for plain text in the majority of the languages of the world. How many years did it take for the competiors to follow? Oldboys remember the document format wars between ODF (Open Document Format) and MS' OOXML about fifteen years ago. One serious critisism of OOXML was that it was too complex: Certainly, a share of its features had no value for Western languages, they were tailored to Asaian ideogram based languages. Strong voices in the "open" world fiercely opposed such complexity, as it would raise the required resources for implementing full format support, which would be in disfavor of that "everyone can make his own free and open implementation" idea. Essentially, MS has been a strong supporter for full internationalization, providing basic mechanisms and programming guidance at a sign
-
fd9750 wrote:
Having been to the USA umpteen times that does not surprise me at all. Most of the population there is hardly aware that there is something like a world outside of the USA.
Examples?
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
My cousin was in a US family for 4 months last year. They explained her some things like she came of middle age or something similar. "This is a wash machine... do you have this in germany?" :doh: :doh: :doh: Luckily enough, they realized the "error" pretty fast and then it was better.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
¿Que? (43 million Americans speak Spanish as a first language)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!
OriginalGriff wrote:
43 million Americans
Not anymore!
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
My cousin was in a US family for 4 months last year. They explained her some things like she came of middle age or something similar. "This is a wash machine... do you have this in germany?" :doh: :doh: :doh: Luckily enough, they realized the "error" pretty fast and then it was better.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
Nelek wrote:
"This is a wash machine... do you have this in germany?"
I don't know Germany but I do know Mexico and that type of question is perfectly reasonable when dealing with Mexico.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
fd9750 wrote:
Having been to the USA umpteen times that does not surprise me at all. Most of the population there is hardly aware that there is something like a world outside of the USA.
Examples?
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
ZurdoDev wrote:
Examples?
It is difficult to answer that without risking to be censored for talking politics in the Lounge. I will risk it anyway: Lots of USanians blindly accept The Leader's claim that the nation is the world's leading nation in corona testing. The leader tells them, so why should they care to check e.g. the worldometers.info survey showing that in tests per capita, the US was earlier today ranking #43 on the list when ordered by tests per capita? When their leader tells them the Truth, why doubt it? What is the use of checking false news resources? The Great Leader condemns the Swedish approach of "let the virus spread!" - Sweden has currently 30% more deaths per capita than the US - The Gerat Leader praises the Norwegian approach, my country, with no mention that the US has six times as many deaths per capita as Norway. Which True American looks beyond The Leader and his claims? Maybe a small handful of journalists, but they are easily knocked down for asking "nasty questions" at the press conferences. I wish that this was limited to The Great Leader, but I know it isn't. To take one example: I was living in a US family for a year. Sometimes they bought loaves of bread from a baker using bread bags printed with "Bread for the world" (g** knows why!) and a series of different flags. For the flag labeled "Norway", the red and blue colors were interchanged. I pointed that out to my host family. They hardly cared to shrug: So what? The baker couldn't know that someone knowing the Norwegian flag would see those bread bags! Another example, although second-hand: A colleague of mine told that he had been working with a US colleague at IBM (tradtionally more multi-culturally oriented than many other companies), complaining about poor support for the extra Scandinavian letters, æøå or in the Swedish variants äöå. This US guy, working with internationalization, claimed that they had full support. When my colleague asked about these letters, the issue was completely unknown to the US guy - at first he refused to accept that there could be other letters than a-z! Lots of web stores insist that there must be a "state" level between the nation and town level, because that is the way it is in the US. In the phone number, they insist that there must be an area code between the nation code and the local number, the way it is in the US. They insist on a zip code following the state abbreviation, because that is