Translation with Falang works partially

Viewing 3 posts - 1 through 3 (of 3 total)
#209566

Daniel Jay
Participant

I use wpdm (currently the free version) and Falang as translation plug-in. When I maintain the german and english texts for a download and switch languages, the title is translated, but the description text is not.

I have no idea why. In falang settings I could select the options post_title, post_name, post_content, post_excerpt for translation.
For title it’s working. Also the complete table with file-information, but the desciption text is not translated.

Could you please help me out?

#209567

Daniel Jay
Participant

My theory:

Falang stores translations in the table wp_falang_content.
Please check whether WPDM()->packageData->post_content is being retrieved directly from the wp_posts table instead of using get_post().

When WP Download Manager bypasses WordPress core functions (get_post() or the_content filter), multilingual plugins like Falang, WPML, or Polylang cannot intercept and provide the translated version.

Adding a hook or filter before rendering the description (for example apply_filters(‘the_content’, $post_content)) would solve this issue and ensure translation plugins can modify the output properly.

#209573

Nayeem Riddhi
Moderator

Hello Daniel Jay,

Hope you are well. Our plugin is translate ready. You can follow these articles for making translation of your site,

Translate WordPress Plugin to Your Language [How To]

How To Change WordPress Site Language?

Please kindly check and let me know if it works for you.

Thank you and regards

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.