Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter l.lourenco

    (@llourenco)

    Perfect. Worked like a charm. Thank you so much for the quick answer.

    Best wishes,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    Maxime,

    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,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    Hello 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,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    Hello 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,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    Maxime,

    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,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    Hello 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,
    Luis

    Thread Starter l.lourenco

    (@llourenco)

    We’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.

Viewing 7 replies - 1 through 7 (of 7 total)