Jump to content

How to fix symhony log messages


Jons

Recommended Posts

My site is running very slow and according to Symfony Profiler I have a few warnings but I don't understand them.

Can someone please explaine how I can fix these issues ?

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "Never recompile template files"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "Recompile templates if the files have been updated"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "Force compilation"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "File System"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "MySQL"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "Never clear cache files"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

WARNING
16:40:28
translation	Translation not found.
Hide context
[▼
  "id" => "Clear cache everytime something has been modified"
  "domain" => "AdminAdvparametersFeature"
  "locale" => "en-US"
]

 

Thank you

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

I got it working!  Here's how to do it:

Open app/Resources/translations/(language you need)/AdminAdvParametersFeature.

Go to this github link and select the language you need.  On the next window, select the file you need, in our case AdminAdvParametersFeature.  

At this point, I copied and pasted all of the github code into a separate file in my code editor, so I can easily search for terms.

Search for the terms you need and paste the related code into the original file. I put them in after the "File: controllers/admin/AdminImportController" section. When I tried to pop the terms in at the end, I got another error (but maybe I made a random mistake).

Anyway, it worked for me.  No more "translation not found errors".

Edited by Joyplaz (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...