Skip to content

Commit 09c54de

Browse files
committed
Fix bazinga usage (#2500)
(cherry picked from commit 800daf9)
1 parent 1f29bdd commit 09c54de

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

docs/administration/project_organization/project_organization.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ They can be referenced as relative to the root, for example `assets/js/script.j
2727

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

30-
??? note "Removing `assets` manually"
31-
32-
If you ever remove the `assets` folder manually, you need to dump translations before performing
33-
the `yarn encore <dev|prod>` command:
34-
35-
```
36-
php bin/console bazinga:js-translation:dump assets --merge-domains
37-
```
38-
3930
## Configuration
4031

4132
You project's configuration is placed in the respective files in `config/packages`.

docs/multisite/languages/back_office_translations.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If your browser language is set to French, the back office is displayed in Frenc
3131

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

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

3636
### Contributing back office translations
3737

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

118118
!!! note
119119

120-
You may need to clear the cache after adding new translations, before they're available in the back office.
120+
Run `composer run post-update-cmd` which installs your JavaScript translations by using `BazingaJsTranslationBundle`,
121+
and clears the cache of the default SiteAccess.
122+
123+
Run `php bin/console cache:clear --siteaccess=admin` to clear the back office cache.
124+
You may need to replace `admin` with the back office's SiteAccess name used in your installation.

0 commit comments

Comments
 (0)