Guy Verville Posted January 22, 2015 Posted January 22, 2015 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.
Jan Romero Posted January 23, 2015 Posted January 23, 2015 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":[…]}
Guy Verville Posted January 23, 2015 Author Posted January 23, 2015 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...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now