Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Mickeysoft, y u do dis!?

Mickeysoft, y u do dis!?

Scheduled Pinned Locked Moved The Lounge
csharpasp-netjavascriptcloudhtml
56 Posts 23 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #1

    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

    D L F K A 5 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      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

      D Offline
      D Offline
      Daniel Pfeffer
      wrote on last edited by
      #2

      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.

      OriginalGriffO R 2 Replies Last reply
      0
      • Sander RosselS Sander Rossel

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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!".

        W Greg UtasG Sander RosselS 3 Replies Last reply
        0
        • D Daniel Pfeffer

          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.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          ¿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!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          D M D 3 Replies Last reply
          0
          • L Lost User

            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!".

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #5

            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.

            Ravings en masse^

            "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

            L 1 Reply Last reply
            0
            • D Daniel Pfeffer

              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.

              R Offline
              R Offline
              RickZeeland
              wrote on last edited by
              #6

              I thought it started at Maine and ended at Coon :-\

              Greg UtasG 1 Reply Last reply
              0
              • L Lost User

                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!".

                Greg UtasG Offline
                Greg UtasG Offline
                Greg Utas
                wrote on last edited by
                #7

                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

                <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                L 1 Reply Last reply
                0
                • R RickZeeland

                  I thought it started at Maine and ended at Coon :-\

                  Greg UtasG Offline
                  Greg UtasG Offline
                  Greg Utas
                  wrote on last edited by
                  #8

                  Only for Sander.

                  Robust Services Core | Software Techniques for Lemmings | Articles

                  <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                  <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                  1 Reply Last reply
                  0
                  • W W Balboos GHB

                    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.

                    Ravings en masse^

                    "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

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Well it applied to some very basic issues which they just refused to change, and which would have cost a couple of man days effort from the lowliest data entry clerk at the plant.

                    1 Reply Last reply
                    0
                    • Greg UtasG Greg Utas

                      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

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      :laugh:

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        ¿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!

                        D Offline
                        D Offline
                        Daniel Pfeffer
                        wrote on last edited by
                        #11

                        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.

                        1 Reply Last reply
                        0
                        • L Lost User

                          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!".

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #12

                          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

                          L 1 Reply Last reply
                          0
                          • Sander RosselS Sander Rossel

                            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

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #13

                            Fortunately they made me redundant before I had the opportunity to go over there and do a "I don't Like Mondays". :laugh:

                            1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              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

                              F Offline
                              F Offline
                              fd9750
                              wrote on last edited by
                              #14

                              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.

                              Z F K U 4 Replies Last reply
                              0
                              • F fd9750

                                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.

                                Z Offline
                                Z Offline
                                ZurdoDev
                                wrote on last edited by
                                #15

                                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.

                                N K F B J 5 Replies Last reply
                                0
                                • Sander RosselS Sander Rossel

                                  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

                                  K Offline
                                  K Offline
                                  kalberts
                                  wrote on last edited by
                                  #16

                                  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

                                  1 Reply Last reply
                                  0
                                  • Z ZurdoDev

                                    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.

                                    N Offline
                                    N Offline
                                    Nelek
                                    wrote on last edited by
                                    #17

                                    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.

                                    Z K 2 Replies Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      ¿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!

                                      M Offline
                                      M Offline
                                      Mycroft Holmes
                                      wrote on last edited by
                                      #18

                                      OriginalGriff wrote:

                                      43 million Americans

                                      Not anymore!

                                      Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP

                                      1 Reply Last reply
                                      0
                                      • N Nelek

                                        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.

                                        Z Offline
                                        Z Offline
                                        ZurdoDev
                                        wrote on last edited by
                                        #19

                                        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.

                                        1 Reply Last reply
                                        0
                                        • Z ZurdoDev

                                          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.

                                          K Offline
                                          K Offline
                                          kalberts
                                          wrote on last edited by
                                          #20

                                          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

                                          Z T Sander RosselS 3 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups