kinow opened a new issue, #1998:
URL: https://github.com/apache/jena/issues/1998

   ### Version
   
   main
   
   ### Feature
   
   The docker image provided with Apache Jena code uses a multi-stage build, 
where the last layer (used to run it) uses Alpine Linux.
   
   In Skosmos we are upgrading the Docker setup to switch from stian's Jena 
image to the one included in Apache Jena code, and also to run CICD tests with 
the Apache Jena image.
   
   We ran into [an 
issue](https://github.com/NatLibFi/Skosmos/pull/1496#discussion_r1306959366) 
now where we are not able to use multiple locales in PHP due to the missing 
`locale` command. Looking at the locales available for Java and Jena [^1], I 
get:
   
   ```bash
   / # java Available
   
   en_US_POSIX
   en
   en_US_#Latn
   en_US
   ```
   
   I believe we will be able to install extra locales in the Skosmos container, 
but perhaps that should be included in the Apache Jena Docker image as well, 
allowing users that rely on other locales (for ARQ query collation, for 
example) to use the container with the desired locale.
   
   If that sounds like a good idea, we can send a pull request upstream with 
our solution for the locales.
   
   As for implementation details, it could be i) a fixed list of common 
locales, ii) just English but with the necessary tools and configuration to 
easily add more locales, or iii) something more elaborate like trying to 
download all locales but enable selectively via some env var (no idea if that's 
actually doable). I think the simplest would be ii), and then in Skosmos we 
would add an extra step to install finnish, swedish, german, etc.
   
   [^1] Compiled the program from [this oracle docs 
page](https://docs.oracle.com/javase/tutorial/i18n/locale/identify.html) with 
`-source 8 -target 8` inside the Alpine container
   
   ### Are you interested in contributing a solution yourself?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to