Repository navigation
Conversation
Add the sgn-translations repository as a submodule at cxgn/sgn-translations, install gettext and libintl-perl, and build the translations with make during the image build. sgn reads the built files from ../sgn-translations/build when i18n_enabled is set; with it off nothing changes. AI-Tool: Claude Code
This was referenced Nov 11, 2026
make created build/ with mode 0700 (tempfile.mkdtemp), so SGN, which runs as www-data in this image, could not read the translations built as root. sgn-translations now gives build/ the mode of the umask. AI-Tool: Claude Code
AI-Tool: Claude Code
AI-Tool: Claude Code
Contributor
Author
|
I am closing this PR in favour of a smaller one. The new PR only adds the Debian package |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the interface translations of sgn to the image:
cxgn/sgn-translations;gettextandlibintl-perl;RUN make -C /home/production/cxgn/sgn-translations, which builds the.mofiles and browser message files into itsbuild/folder.sgn reads them from
../sgn-translations/buildonly wheni18n_enabledis set; with it off nothing changes. The sgn side comes in a separate PR (part of solgenomics/sgn#5915).I checked the
makestep inside the currentbreedbase/breedbaseimage (2026-11-06): it builds Ukrainian, Spanish and Arabic (about 20 MB), andwww-data, the user that runs SGN in this image, can read the result. I did not build the whole image locally.Prepared with AI assistance (Claude Code).