- Posted July 15, 2017
- Developer Tools
Overriding translations provides a powerful method of extending and/or customizing addon and streams platform translation key values.
Translation file overrides are recursively merged into the originals.
To get started first publish the desired addon:
php artisan addon:publish anomaly.module.posts
You can find the published files in your application resources directory:
Simply change the translation files as needed or add new ones. Then delete whatever files you don't need to override.
Streams Platform Views
You can publish and override translation files in the streams platform following a similar pattern:
php artisan streams:publish
The published files are again in your application resources directory: