Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 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
5 changes: 3 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,5 @@ 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 both install your JavaScript translations using the `BazingaJsTranslationBundle`, and clear the default SiteAccess cache.
Run `php bin/console cache:clear --siteaccess=admin` to clear the Back Office cache (adapt SiteAccess if needed).
Loading