למשתמש זה אין נושאים מועדפים.
נושאי פורום מועדפים
נושאי פורום שנוצרו
| סטטוס |
נושא
|
תומך | קולות | פוסטים | עדכניות |
|---|---|---|---|---|---|
|
Cannot translate PDF file using ACF
נפתח על ידי: romanL-25
ב: English Support
Problem: function wpmlsupp_7499_allow_translating_numbers( $is_translatable, $job_translate ) {
$data = $job_translate['field_data'];
if ( 'base64' === $job_translate['field_format'] ) {
$data = base64_decode( $data );
}
if ( is_numeric( $data ) ) {
return true;
}
return $is_translatable;
}
add_filter( 'wpml_tm_job_field_is_translatable', 'wpmlsupp_7499_allow_translating_numbers', 10, 2 );After adding this code, make a minor change to the page title and attempt to translate the PDF file ID, which should now be visible in the media library. Additionally, we suggested using the Media Translation interface for a more user-friendly approach to translating the PDF file. If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket. |
|
0 | 7 | לפני יום 4, שעה 19 | |
|
FSE template not applied to tanslated pages/posts
1
2
נפתח על ידי: romanL-25 ב: English Support |
|
1 | 22 | לפני יום 5, שעה 4 |