Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.
Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.
Etiquetado: How to translate, Translating a theme
Related documentation:
This topic contains 4 respuestas, has 2 mensajes.
Last updated by Andreas W. hace 1 month.
Assigned support staff: Andreas W..
Autor | Mensajes |
---|---|
enero 20, 2021 a las 3:20 pm #7888849 | |
Anna |
Hi, the wpml string doesn't working. The post translates and forms pages are working. I am gooaing attach a few screenshots. |
enero 21, 2021 a las 4:27 am #7893367 | |
Andreas W. Supporter
Languages: Inglés (English ) Español (Español ) Alemán (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I see you are using a custom theme. Please follow this documentation: Did you make sure to register the text-domain in finctions.php like: add_action( 'after_setup_theme', 'my_theme_setup' ); function my_theme_setup(){ load_theme_textdomain( 'negociointernacional', get_template_directory() . '/languages' ); } Also, please make sure to change the WP Memory Limit to 256M or higher. More details: Let me know if further assistance is needed. Best regards |
enero 21, 2021 a las 8:30 am #7894163 | |
Anna |
Hi, I have registered the text-domain in functions.php of my theme and increase the wp limit to 512mb but the the problem continue. Thanks, Yoel |
enero 22, 2021 a las 6:14 am #7903301 | |
Andreas W. Supporter
Languages: Inglés (English ) Español (Español ) Alemán (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, After registering the text-domain did you try to scan the theme for new strings at WPML -> Theme and Plugin Localization? Also, did you try locating the string this way? In doubts, please provide me admin access to the site. The private reply form is enabled. Best regards |
enero 22, 2021 a las 6:15 am #7903307 | |
Andreas W. Supporter
Languages: Inglés (English ) Español (Español ) Alemán (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I have to add, please try another getText call here. I would suggest testing with "esc_html_e" Source: Best regards |
El debate ‘[Cerrado] The wpml string is not working’ está cerrado y no admite más respuestas.