Skip to content
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 14 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ They can be referenced as relative to the root, for example `assets/js/script.j

All project assets are accessible through the `assets` path.

??? note "Removing `assets` manually"

If you ever remove the `assets` folder manually, you need to dump translations before performing
the `yarn encore <dev|prod>` command:

```
php bin/console bazinga:js-translation:dump assets --merge-domains
```

## Configuration

You project's configuration is placed in the respective files in `config/packages`.
Expand Down
8 changes: 6 additions & 2 deletions docs/multisite/languages/back_office_translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If your browser language is set to French, the back office is displayed in Frenc

`ibexa.system.<siteaccess>.user_preferences.additional_translations: ['pl_PL', 'fr_FR']`

Then, run `composer run post-update-cmd` and clear the cache.
Then, run `composer run post-update-cmd` and `php bin/console cache:clear --siteaccess=admin`.

### Contributing back office translations

Expand Down Expand Up @@ -117,4 +117,8 @@ The language to display is then selected automatically based on [user preference

!!! note

You may need to clear the cache after adding new translations, before they're available in the back office.
Run `composer run post-update-cmd` which installs your JavaScript translations by using `BazingaJsTranslationBundle`,
and clears the cache of the default Siteaccess.
adriendupuis marked this conversation as resolved.
Show resolved Hide resolved

Run `php bin/console cache:clear --siteaccess=admin` to clear the back office cache.
You may need to replace `admin` with the back office's SiteAccess name used in your installation.
Loading