-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bazinga usage #2500
Merged
Merged
Fix bazinga usage #2500
Conversation
This file contains 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
adriendupuis
commented
Sep 23, 2024
docs/administration/project_organization/project_organization.md
Outdated
Show resolved
Hide resolved
adriendupuis
commented
Sep 23, 2024
bazinga must generate the translations in the ./public/assets directory, not the ./assets directory. See composer.json script using `bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains` https://github.com/ibexa/recipes/blob/master/ibexa/oss/4.6/manifest.json#L94
adriendupuis
force-pushed
the
assets-translations
branch
from
November 20, 2024 09:44
19a275b
to
dfada0b
Compare
adriendupuis
commented
Nov 20, 2024
adriendupuis
commented
Nov 20, 2024
lionelakpagni
approved these changes
Nov 21, 2024
# Conflicts: # docs/administration/project_organization/project_organization.md # docs/multisite/languages/back_office_translations.md
mikadamczyk
approved these changes
Dec 12, 2024
dabrt
reviewed
Dec 12, 2024
mnocon
reviewed
Dec 12, 2024
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com> Co-authored-by: Marek Nocoń <mnocon@users.noreply.github.com>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
mnocon
approved these changes
Dec 12, 2024
adriendupuis
commented
Dec 12, 2024
adriendupuis
commented
Dec 12, 2024
adriendupuis
commented
Dec 12, 2024
dabrt
approved these changes
Dec 12, 2024
adriendupuis
commented
Dec 12, 2024
adriendupuis
added a commit
that referenced
this pull request
Dec 12, 2024
(cherry picked from commit 800daf9)
adriendupuis
added a commit
that referenced
this pull request
Dec 12, 2024
(cherry picked from commit 800daf9)
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.
bazinga
must generate the translations in the./public/assets
directory, not the./assets
directory.It also means that removing
./assets
doesn't remove translations.composer run post-update-cmd
is clearing the cache, and is runningbazinga
andyarn
. It's the best way to get the translations working. As it clears only the default SiteAccess cache, the Back Office SiteAccess cache may need to be cleared as well.See
composer.json
script usingbazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains
in 4.6'smanifest.json
, or 3.3.15 update doc, or 4.0 update doc.Previews:
assets
manually" foldable box. (side note, this box state is inherited from 3.0 moving to Symfony 4)Nota bene: This PR focus on
bazinga
. https://ez-systems-developer-documentation--2500.com.readthedocs.build/en/2500/administration/project_organization/project_organization/#assets remaining part sounds wrong as Encore is supposed to be used, and "for example assets/js/script.js can be referenced as js/script.js from templates" doesn't make any sens. It's kept for another time and another PR about assets.Checklist