Este usuario no tiene temas favoritos.
Temas de foro favoritos
Temas de foro creados
| Estado |
Tema
|
Asistente | Voces | Publicaciones | Actualidad |
|---|---|---|---|---|---|
|
Cannot translate PDF file using ACF
Iniciado por: romanL-25
en: 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 | hace 4 días, 16 horas | |
|
FSE template not applied to tanslated pages/posts
1
2
Iniciado por: romanL-25 en: English Support |
|
1 | 22 | hace 5 días |