Hello Kostas,
Thanks for your message. What are you using to display both languages? WPML or another tool?
Hi, Polylang.
It seems that the buttons fetching the next and previous pages, remove the /en/ /el/ from the URL.
Unfortunately since we don’t integrate directly with them, is a bit difficult to tell but let me try my best to check this. Can you please first give me the following information?
1. Your current TEC version
2. Current Polylang version
3. When you say /el/, which language is it?
I’ll be looking forward to your reply!
Update, found this: https://wpml.org/errata/the-events-calendar-issues-with-string-translation/ Is this going to be in core? Otherwise we have to change it after every update probably.
Hi.
I hust migrated to WPML which seems to be more compatible.
I have only one problem.
While EL (Greek) is not fully translated, I see that strings that ARE translated are not showing up.
I tried Loco translate, same.
I tried translating them in WPML, same thing.
All these tools have these strings already translated, but they are not showing up.
Hello Kostas,
Thanks for confirming! If you use WPML, please note that this is a known issue the WPML team and us have been working on, but in the meantime, you can check this solution they sent:
You have to edit the file located in
wp-content/plugins/the-events-calendar/src/Tribe/I18n.php
on line 189
from
remove_filter( 'locale', $force_locale );
to
remove_filter( 'locale', $force_locale );
foreach ( (array) $args[1] as $domain => $file ) {
// Reload it with the correct language.
unload_textdomain( $domain );
if ( 'default' === $domain )
{ load_default_textdomain(); }
else
{ Common::instance()->load_text_domain( $domain, $file ); }
}
Please try it when you have a chance and let me know how it goes!