l.lourenco
Forum Replies Created
-
Forum: Plugins
In reply to: [Sublanguage] Unable to translate mediaPerfect. Worked like a charm. Thank you so much for the quick answer.
Best wishes,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaMaxime,
Sorry for the inconvenience. I’m trying to get the translated strings on the front-end. I’m using this code:
$image = get_post(get_post_thumbnail_id());
echo $image->post_title;
echo $image->post_excerpt;
echo $image->post_caption;On the front-end I’m always getting the base language (in my case Portuguese), even when the selected language is otherwise English / EN.
Am I extracting the translated strings correctly? Should I be using a specific function from the sublanguage plugin to get the translated strings?
Best regards,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaHello Maxime,
I run new tests using the release you published. Now, everything seems to be perfect. You now can translate correctly Title, Caption and Description. And you can even do this in Grid Mode (I had noticed what you mentioned about being able to use Sublanguage in List Mode).
Thanks for your precious help. We love Sublanguage. It’s the most intuitive translation plugin, by far.
Best regards,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaHello Maxime,
I’ve tried again, this time using the ZIP downloaded from github. Still no solution for the bug. The behaviour is still the same. Let me know if I can be of some assistance.
Best luck,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaMaxime,
I’ve tryed with the new file (also version 2.4), but with no luck. The behaviour is still the same for Title, Caption and Description. Since I can’t tell any difference between the earlier v.2.4 and this one, I wonder if the server @wordpress.org has some kind of cache (if the file downloaded is the intended / new one).
Best wishes,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaHello maxime,
Thanks for your quick reply. I’ve tested the version you submitted (v.2.4) but the behaviour is the same as previous. This occurs in Media Title, Caption and Description. The translated strings are lost once you switch between configured languages in the system.
Best regards,
LuisForum: Plugins
In reply to: [Sublanguage] Unable to translate mediaWe’ve also tested the Media Title field which behaves similar to the Caption and Description. All translation strings are lost when switching between the active languages configured.