Skip to content

tarjei/ThTranslationLogBundle

Repository files navigation

ThTranslationLogBundle

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.

About

Log symfony translation misses

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages