Git Product home page Git Product logo

Comments (6)

lindapaiste avatar lindapaiste commented on July 18, 2024

Hmmm...I'm not sure if this is a problem or if it's doing what it's supposed to do? When you log it will change to the language from your account preferences. In your video that was English.

It does not always change to English when logging in -- it happens to do so in this example because English is the language that you were last using when you logged out.

Let's say that I'm logged in and I change my preferences to Spanish. Then I log out and I change it to French. Then I log in. The language will be Spanish because that is the language associated with my account.

from p5.js-web-editor.

YashwardhanSingh2005 avatar YashwardhanSingh2005 commented on July 18, 2024

I was reading about this issue and was thinking whether we would proceed with changing it so the language stays the same before login session rather than storing it as a language associated with the account?

from p5.js-web-editor.

imsamad avatar imsamad commented on July 18, 2024

Hmmm...I'm not sure if this is a problem or if it's doing what it's supposed to do? When you log it will change to the language from your account preferences. In your video that was English.

It does not always change to English when logging in -- it happens to do so in this example because English is the language that you were last using when you logged out.

Let's say that I'm logged in and I change my preferences to Spanish. Then I log out and I change it to French. Then I log in. The language will be Spanish because that is the language associated with my account.

I think, it is not good from user-experience of non-technical user perspective.

We can solve this issue as follows:

Saving the selected language preference in local storage when a user is logged out and then syncing that preference to the backend upon login.

If this approach is right, I am interested to work on it, please assign it to me.

from p5.js-web-editor.

Vishal2002 avatar Vishal2002 commented on July 18, 2024

@lindapaiste I just need your confirmation to start working on this issue because I have already figured out how to do this.

from p5.js-web-editor.

mhsh312 avatar mhsh312 commented on July 18, 2024

I agree with @lindapaiste. This works as intended. Languages should be tied to the last preference of a specific account. Multiple users can be using the same computer with different accounts (say, in a school computer lab) so keeping languages tied to account preferences is the way to go.

from p5.js-web-editor.

raclim avatar raclim commented on July 18, 2024

I think that's how I'm feeling so far here as well. I'm not sure if this is something we might want to consider in the near future so I'm going to close this for now, but am down to reopen this if more interest in this issue resurfaces!

from p5.js-web-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.