th / translation-log-bundle
Find those pesky dynamic translation strings
Installs: 7 577
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/symfony: >=2.1
This package is not auto-updated.
Last update: 2024-12-06 15:12:55 UTC
README
Log symfony translation misses.
The purpose of this bundle is to log translation misses as a way to get the spots where a normal translation:update does not work.
Do not enable this bundle for all your envs!
Usage
- Enable this bundle in a controlled setting, for example a dev env or with an IP check:
- Surf around, maybe create a Selenium of Behat test that runs throught your application for a given locale.
- Run the extrator on the logs to get missing messages:
app/console translation:process-miss-log
- Go through the lists (found in app/cache/dev/missing-translations) and move them to the correct places.