th/translation-log-bundle

Find those pesky dynamic translation strings

Installs: 7 576

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.0.0 2013-04-26 11:31 UTC

This package is not auto-updated.

Last update: 2024-06-08 12:46:48 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

  1. Enable this bundle in a controlled setting, for example a dev env or with an IP check:
  1. Surf around, maybe create a Selenium of Behat test that runs throught your application for a given locale.
  2. Run the extrator on the logs to get missing messages:
app/console translation:process-miss-log
  1. Go through the lists (found in app/cache/dev/missing-translations) and move them to the correct places.