I have a strange problem. Suddenly my English menu items are mixed up.
On my laptop the menu looks fine. But after copying my project to a server the menu-items are mixed up. The menu-item links are ok. But menu-item City is suddenly labelled as Country for example but is still pointing to City. I cleared my caching, Regenerated my project but nothing seems to help. Can anyone help me with this strange problem?
First of all, if you have generated production mode before uploading to your server, make sure you have deleted old cache on your server, read Clearing Symfony Cache.
If clearing cache does not work, you might have language files mixed up, you may:
Generate all files in again,
Delete all files, especially those under the project_folder\translations and project_folder\lang, on your server,
I solved it. I had a Test.en-US.xml file in my lang folder that had the wrong menu id’s. I deleted the file and the menu items where fixed. Can’t remember how this file got in my folder. I don’t see it in my locale lang folder. And I deleted everything on the server and copied all locale files to the server again. So a little mistery for me.