K
K
Konstantin Grachev2016-04-01 16:30:11
symfony
Konstantin Grachev, 2016-04-01 16:30:11

Symfony Translations - find unused translations?

The project has accumulated a large number of translations, many of which are no longer used.
How to automate the tracking of actual (used) translations?
We tried to write all translatable keys to the database, but mysql could not stand it and the server went down.
The request was of the form

INSERT INGNORE ... ON DUPLICATE KEY UPDATE updated_at

The translation:extract command will not work, the keys are not always explicitly written in views.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2016-04-02
@prototype_denis

For statics such command.
Unfortunately, I will not give you any advice on keys that are not in the templates. I have not encountered such a problem.
Look at similar solutions
https://github.com/maisonsdumonde/MDMTranslatorChe...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question