Este usuario no tiene temas favoritos.
Temas de foro favoritos
Temas de foro creados
Estado |
Tema
|
Asistente | Voces | Publicaciones | Actualidad |
---|---|---|---|---|---|
Translate Elementor Dynamic tag custom field
Iniciado por: Nohemi
en: English Support
Problem: Solution: public function render(): void {<br /> // Grab settings<br /> $text = (string) $this->get_settings( 'text_param' );<br /> $number = (int) $this->get_settings( 'number_param' );<br /> $select = (string) $this->get_settings( 'select_param' );<br /><br /> // --- WPML translation for the text field ---<br /> // Use a stable domain and a reasonably unique name to avoid collisions across pages.<br /> $domain = 'elementor-random-number-dynamic-tag';<br /> $post_id = function_exists('get_the_ID') ? (int) get_the_ID() : 0;<br /> $name = sprintf( 'text_param|post:%d', $post_id );<br /><br /> // 1) Register the original string (safe to leave in place permanently)<br /> do_action( 'wpml_register_single_string', $domain, $name, $text );<br /><br /> // 2) Fetch the translated version (if any)<br /> $text_translated = apply_filters( 'wpml_translate_single_string', $text, $domain, $name );<br /><br /> // ---- your actual output ----<br /> // (Example: echo the translated text, the random number, etc.)<br /> echo esc_html( $text_translated );<br />} 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 at our support forum. |
|
0 | 13 | hace 2 días, 2 horas | |
/wp-json/wpml/tm/v1/ate/jobs/retry 403 if current user hasn't the capability
Iniciado por: Nohemi en: English Support |
|
2 | 10 | hace 1 año, 3 meses | |
Translate a number in shortcode attributes in elementor
1
2
Iniciado por: Nohemi en: English Support |
|
3 | 22 | hace 1 año, 12 meses | |
Translate Elementor links
Iniciado por: Nohemi en: English Support |
|
2 | 3 | hace 2 años, 6 meses | |
Xliff export keeps old translations of old original text
Iniciado por: Nohemi en: English Support |
|
2 | 13 | hace 4 años, 10 meses | |
XLIFF for only not updated translation
Iniciado por: Nohemi en: Chat Support |
|
1 | 2 |
hace 4 años, 10 meses
|