Jump to content

Recommended Posts

Posted

We're working on a site that has translations set. (two languages).  Suddenly, one of the template doesn't show the correct language. I tried to load the translated strings (the page in question appears as it should on the translated files), i get the error that Processwire cannot load it.

Any idea on how to fix this? I'm using 2.5.3.

post-1691-0-69589500-1421938760_thumb.pn

Posted

Seems like the translation JSON is corrupted. Under Languages->Français, can you click on the json file you’re trying to use and verify that the first two properties, file and textdomain are present and correct? It should look like this:

{"file":"site\/templates\/theCoolestTemplate.php","textdomain":"site--templates--thecoolesttemplate-php","translations":[…]}
Posted

Hi,

The file is marked 0 phrases. Clicking on the link gets to a 404 error. So the file is no more there... I have checked on the assets.  So, i deleted the entry and redid the translation. Scary...

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...