Translation doesn't show or work NL language
So i have edited translation file with Poedit in search of translation for the words ‘sold out’ and ‘# tickets left’.
Checked all translation files (events calender, tickets, tickets plus).
It worked before but after an update (everything in site is latest version) the translation on the front-end doesn’t work anymore.
theme used is GeneratePress, quite lite and simple, but changing to other basic one doesn’t work either.
De-activated all plugins, doesn’t work either. So it’s not in template or other plugins.
See attached image… why doesn’t it work?
Kind regards, Dennis
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/language-files-missing-strings-norwegian/
Thanks for reaching out to us.
At the moment we are experiencing high traffic in our forums. Our response time might be a bit longer than usual, our apologies for this.
One of our support members will help you out as soon as possible.
Thank you for your patience!
Hello again Dennis,
Thanks for hanging in there. Let’s take a look at this.
An important note about the .po/.mo translation files is that if you leave them in your plugin folder, then they will be overwritten with a plugin update and all translations you did will be lost.
If you put your .po and .mo files under wp-content/languages/plugins then they will not be updated with a plugin update and these translation files will be loaded instead of the ones in the plugin folder (e.g. wp-content/plugins/the-events-calendar/languages). So the first step would be copying your translation files there.
The second note is updating the translation files. With almost every plugin update we make adjustments to the strings, remove some and add some new ones. For these to be reflected in your files under wp-content/languages/plugins you need to update those.
The easiest way to update with PoEdit is the following:
- Download the .po / .mo files to your computer
- Download the .pot file of the plugin which is in wp-content/plugins/the-events-calendar/languages
- Open the .po in PoEdit
- Go to Catalog > Update from POT file … and choose the .pot file you downloaded. This will make the necessary changes
- Review your translation whether they are still ok, then save
- Upload the .po and .mo to wp-content/languages/plugins
You should be all set.
Let me know if that does the trick, or if you need any further help with this.
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team