Comments (4)
See #60 (comment)
from docker.
I also can’t use Craft and nitro with our german language option which makes nitro pretty useless at the moment.
I checked for the discussion on "[8.x] Missing Locales #60" and even as I understand that it has to do with the Alpine Linux Version that comes with Docker I have no clue how to use the stated workaround ("downgrade/pin to Alpine Linux 3.15").
Anyone can help?
from docker.
Using Nitro to create a new craft site, I was also unable to set French as the site language. I tried with the terminal using fr-FR and simply fr all option but the default resulted in an error message.
I then created a new install and tried to setup Craft from the browser and here are the only available choices :
Note that once the installation is completed, the CP is available in all languages and can be changed per users as usual. The problem is only with the site “local” language where only English variants are available.
from docker.
I also can’t use Craft and nitro with our german language option which makes nitro pretty useless at the moment.
I checked for the discussion on "[8.x] Missing Locales #60" and even as I understand that it has to do with the Alpine Linux Version that comes with Docker I have no clue how to use the stated workaround ("downgrade/pin to Alpine Linux 3.15").
Anyone can help?
Sorry for the confusion. This is something that has to be fixed in the Dockerfile by the owner of this repo if you use nitro. I haven't had the time yet to create a pull request.
To clarify the 2 possible 'fixes' on the Dockerfile side of things:
Option 1. In the PHP Dockerfiles from this repo, there is a line:
Line 8 in 9d89581
FROM php:${PHP_VERSION}-${PROJECT_TYPE}-alpine3.15
to pin it to a fixed Alpine version that still has all locales installed by default.
Option 2. (this is probably the better option to stay up-to-date). If you want to keep using the latest Alpine version (3.16+), the following package icu-data-full
has to be added to the list of all the packages in the Dockerfile, right where icu-dev
is also located, see this part in the Dockerfile where all the required packages are installed:
Line 51 in 9d89581
from docker.
Related Issues (20)
- Expat security vulnerability HOT 6
- Security vulnerabilities reported in container HOT 4
- Imagick does not limit its memory usage, can crash php-fpm processes HOT 3
- Python security vulnerability HOT 1
- libtasn1 vulnerability reported HOT 2
- High vulnerability reported in `libde265` HOT 2
- Dev image performance is 10x slower than prod HOT 3
- High vulnerability reported in `tar-1.34-r0` HOT 1
- CVEs HOT 5
- Make Nginx document root configurable
- New CVEs HOT 14
- Upgrade pgdump to 15.3 HOT 2
- github-tag-action runs too often HOT 2
- Supervisord INFO reaped unknown pid HOT 1
- Update Alpine so CVE-2023-38545 can be resolved HOT 2
- README Example for database tools to enable exports/backups needs to be updated
- Add PHP 8.3 images HOT 1
- nginx: [alert] could not open error log file HOT 1
- Deprecating this repo HOT 1
- Moving cleanup to dramatically reduce image size HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.