Posted: November 13, 2024 at 8:03 am
This morning I updated the WordPress core to the latest version 5.7. However it seems that Event Espresso doesn’t use the Dutch language file anymore after updating, even though the Dutch language files is present and everything worked before. |
|
Hi there, Where is your Dutch language file saved? EE can load language files from multiple locations and I’ve just tested an update from 6.6.2 to 6.7 without issue. Before: https://monosnap.com/file/HIOYYGPbSmbZp8fnYG4PRMhPbXKUVM After: https://monosnap.com/file/qkyCXGNpn0ECGuWkdjasfAdVQvk1kZ So I’m guessing it doesn’t like the file location? |
|
Hello Tony, I dit not changed anything to the location of the language file. The language file is located: plugins/event-espresso-core-reg/languages/event_espresso-nl_NL.po Screenshot: https://pevaz.be/wp-content/uploads/Schermafbeelding-2024-11-14-141835.png. You will see that the admin is in Dutch, but the menu items from Event Espresso is in English. Also other plugins are displayed in Dutch without any problems. Thank you to take a look into this Manuel |
|
Ok, so I’ve been looking into this and 6.7 changes when the translation files load, see: https://wordpress.org/support/topic/known-issues-with-wordpress-6-7/ Whilst some of this is likely to change and we are investigating how to move forward with EE’s default translations, EE has a method of loading custom translations which should still work (it does for me). So, in Loco translate go to: Loco -> Plugins -> Event Espresso -> Setup You should see something like this: https://monosnap.com/file/s71P8x68RWrsmAMYzNLEUfDVsB3QRz Click ‘Import from XML’ file. Copy and paste the contents of this file to import: https://gist.github.com/Pebblo/5fcf72d96e59889dad4532937b4b9519 Now, in the Overview, you should see something like this: https://monosnap.com/file/7cFJXXFCJnyvLSDWSc2PQqpakPMh3j Find your Dutch translation and hover over it. Click copy. Make sure ‘Other’ is set for location and that it uses uploads/espresso/languages/{filename} Copy the translations and not just the English source. UNcheck use this file as a template when running Sync. Like so: https://monosnap.com/file/Pqj0vTPSf8oehlOopx7R7suJ6Gqu9Q Click Start Translating (note you’re not finished yet!) Click the ‘Relocate’ tab at the top, then advanced. Here: https://monosnap.com/file/7XFurtIqr29WU6IQLQzn5wueyztx1m Change the filename at the top from Click Move files. What all of that has done is set up Loco translate to use a custom directory for translations:
Within that directory Event Espresso will load either If you want to customize the translations you use the one under event-espresso-4 in Loco: https://monosnap.com/file/Quijgnm7JGwJgoRl7lvuh89OqnumwL |
|
The support post ‘Language file is not used anymore after updating WordPress core to v6.7’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.