Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Can not change default locale

    Pixelfed
    2
    4
    26
    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.
    • jaschaezra
      jaschaezra last edited by

      I added the following to .env.production:

      APP_LOCALE="de"
      APP_FALLBACK_LOCALE="en"
      

      and restarted the app. I

      I expected to find these settings reflected in https://DOMAIN/i/admin/diagnostics/home but there is still en:
      Bildschirm­foto 2023-01-13 um 16.04.29.png

      Am I doing something wrong?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @jaschaezra last edited by

        @jaschaezra There is indeed something wrong with that page. But changing the locale does actually change the locale though . Same goes for other things like APP_NAME . Even if that admin UI does not display the correct name, the front page changes the name of app in the browser tab.

        1 Reply Last reply Reply Quote 1
        • girish
          girish Staff last edited by

          after many restarts, the locale became 'de' but the app name is still wrong.

          2993ccaa-5a01-4294-a0f2-0a3bea0d642f-image.png

          jaschaezra 1 Reply Last reply Reply Quote 1
          • jaschaezra
            jaschaezra @girish last edited by

            @girish I took a look again and now it changed. seems like a caching thing. Thanks for looking into it.

            1 Reply Last reply Reply Quote 1
            • Topic has been marked as a question  nebulon nebulon 
            • Topic has been marked as solved  nebulon nebulon 
            • First post
              Last post
            Powered by NodeBB