Giter VIP home page Giter VIP logo

Comments (4)

pierrecdn avatar pierrecdn commented on June 16, 2024

Hi @ixinshang,
Thanks for your report.
I guess this is related to missing locales in the container.

You probably can follow this tutorial to try adding your locale into the container: https://blog.mkowalski.net/2016/05/17/solving-locale-issues-with-docker-containers/

Please open a PR if you succeed, the idea being to add all those supported by default in phpipam and for which translations are (at least partially) done.

from phpipam.

trytrytogo avatar trytrytogo commented on June 16, 2024

Hi @ixinshang,
Thanks for your report.
I guess this is related to missing locales in the container.

You probably can follow this tutorial to try adding your locale into the container: https://blog.mkowalski.net/2016/05/17/solving-locale-issues-with-docker-containers/

Please open a PR if you succeed, the idea being to add all those supported by default in phpipam and for which translations are (at least partially) done.

thanks, i will change it and have a test, thansk.

from phpipam.

houstek avatar houstek commented on June 16, 2024

same problem for me

Solved by editing the dockerfile :
RUN apt-get update
&& DEBIAN_FRONTEND=noninteractive apt-get install -y locales
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
&& dpkg-reconfigure --frontend=noninteractive locales
&& update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

replace en_US.UTF-8 with your country

https://daten-und-bass.io/blog/fixing-missing-locale-setting-in-ubuntu-docker-image/

from phpipam.

trytrytogo avatar trytrytogo commented on June 16, 2024

thanks houstek @houstek ,it's OK.
thanks @pierrecdn

from phpipam.

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.