XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOCE - Language not keep when i come back (surrely dumb question)

    Scheduled Pinned Locked Moved Xen Orchestra
    15 Posts 4 Posters 447 Views 2 Watching
    Loading More Posts
    • 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.
    • C Offline
      Chico008
      last edited by

      no error in log from switching laguage

      DanpD 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @Chico008
        last edited by

        @Chico008 Is your VM up-to-date with the latest source code? I don't see this on my XO, so I'm guessing that it's a configuration issue on your side. How did you go about installing XO?

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Chico008 @Danp
          last edited by

          @Danp
          i'm using XOCE for now for testing

          My VM hosting XOCE is a Ubtuntu server 24.04
          XOCE installed using this script for github
          https://github.com/Jarli01/xenorchestra_installer

          DanpD 1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team @Chico008
            last edited by

            @Chico008 What does it show for the commit on the About page in XO?

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Chico008 @Danp
              last edited by

              @Danp
              61009f83-79b1-44c0-a6b2-d3f66026326c-image.png

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @Chico008
                last edited by

                @Chico008 I have a VM built with this same script, and it works as expected. You may want to build a new XO VM and retest.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  Chico008 @Danp
                  last edited by Chico008

                  @Danp
                  My VM is a Ubuntu server 24.01
                  i'll try on a debian 12, maybe a docker image to check if it works better or not.

                  edit : tested on another server OS (Debian), and tested a docker version
                  Still the same
                  i can change language, it's set for the sessions running.
                  but when i come back and login again, laguage set to english by default again.

                  My browser clear cache and cookie on exit.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    @Chico008 said in XOCE - Language not keep when i come back (surrely dumb question):

                    My browser clear cache and cookie on exit.

                    That's why. Your pref are stored in a cookie.

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Chico008 @olivierlambert
                      last edited by

                      @olivierlambert too bad, could be better if pref could be stored in database instead >_<

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Why? I mean you are the first person to ask this. It's more work to do that and I'm not sure to really see the value 🤔 A cookie is the perfect simple way to store info that are from your same browser/session, so it's very logical.

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          DustinB @olivierlambert
                          last edited by

                          @olivierlambert said in XOCE - Language not keep when i come back (surrely dumb question):

                          Why? I mean you are the first person to ask this. It's more work to do that and I'm not sure to really see the value 🤔 A cookie is the perfect simple way to store info that are from your same browser/session, so it's very logical.

                          Yeah, I don't see the value in having to keep a user preference within XO itself either.. just don't clear your cookies. It's what they are meant for.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post