Saltar al contenido Saltar a la barra lateral

Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.

Problema:
El cliente desea cambiar el idioma predeterminado de su sitio web de Catalán a Español, pero enfrenta problemas donde el editor de traducciones avanzado aún reconoce el Catalán como idioma predeterminado y todos los menús han desaparecido.
Solución:
1. Para cambiar el idioma fuente del contenido a Español, primero desconecta la traducción en Español de la página predeterminada siguiendo esta guía.
2. Abre la página en Catalán en el editor de WordPress y utiliza la opción 'Conectar con traducción' para seleccionar la página en Español que deseas conectar como traducción.
3. En el diálogo que aparece, selecciona la opción Hacer [Idioma] el idioma original para esta página y guarda los cambios.
4. Para resolver la desaparición de los menús, verifica si el menú en Catalán ha sido traducido al Español. Si no es así, puedes traducir el menú siguiendo esta guía o crear manualmente el menú en Español.

Si esta solución no resuelve tu problema o si parece estar desactualizada, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión del arreglo permanente y confirmar que tienes instaladas las últimas versiones de temas y plugins. Para asistencia adicional, no dudes en contactarnos en nuestro foro de soporte.

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.

Este tema contiene 5 respuestas, tiene 2 voices.

Última actualización por Prosenjit Barman hace 1 año, 4 meses.

Asistido por: Prosenjit Barman.

Autor Publicaciones
julio 4, 2024 a las 3:40 pm #15893074

joanI

Antecedentes del problema:
Quiero cambiar el idioma por defecto de mi web. Antes era el Catalán y ahora es en Español.

He seguido los pasos de este post

https://wpml.org/forums/topic/changing-default-language-5/#:~:text=Para%20cambiar%20el%20idioma%20predeterminado%2C%20ve%20a%20WPML%20%E2%86%92%20Idiomas,que%20deseas%20establecer%20como%20predeterminado.

Síntomas:

Preguntas:
Cuando entro en el Escritorio todo se ve en Español pero han quedado cosas que no funcionan bien:

1. El editor de traducciones avanzado aun cree que el idioma por defecto aún es el catalán. Al intentar editar un contenido en español me aparece el mensaje: Advertencia: Está tratando de modificar una traducción con el editor estándar de WordPress, pero su sitio está configurado para usar el Editor de traducción de WPML.

2. Han desaparecido todos los menús.

Saludos y gracias

julio 5, 2024 a las 5:38 am #15896038

Prosenjit Barman
Partidario de WPML desde 03/2023

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or if you want to continue the conversation in Spanish language. I will check and forward this ticket to one of our Spanish-speaking supporters to assist you in the Spanish language.

I understand the issue you're having. Please note that even if you change the default language of the site, the source language of the content will remain set to the language in which it was originally created. For example, if the content was created in Catalan, the source language will still be Catalan, even if you change the default language of the site to Spanish. The source language of the content and the default language of the site are two different settings.

Now, if you also want to change the source language of the content to Spanish, please follow the steps below:

1. First, disconnect the Spanish translation from the default page by following this guide.
2. Once done, open the Catalan page in the WordPress editor.
3. Since the page is not connected with a translation, you'll see a link 'Connect with translation' in the language meta section. Please check this screenshot: enlace oculto. Click on that link.
4. A dialogue will appear where you can select the Spanish page you want to connect as a translation. You may need to enter the page name in the box, and once it appears, select the page.
5. After selecting the page, another dialogue will prompt you to set the default page. If you want to change the page’s original language to Spanish, select Make [Language] the original language for this page and save the changes.

For a better understanding, you can also check this guide: https://wpml.org/faq/how-to-disconnect-translations-from-the-default-language-page-or-post/.

In this way, you'll be able to change the default language of the page to Spanish, and the warning will not appear again.

Regarding the disappearance of the menus: It's possible that the Catalan menu hasn't been translated into Spanish. This could be why no menus are showing in the backend in Spanish, even though they should be working on the frontend. Now, if you want, you can translate the Catalnm Menu into Spanish by following any of the method mentioned in this guide or manually create the Spanish menu. I hope it will help.

I hope the information above helped. If you need further assistance in this matter, feel free to let me know. I will be happy to help.

Best regards,
Prosenjit

julio 5, 2024 a las 3:28 pm #15899250

joanI

Hola, parece que ha funcionado pero algo no me queda claro.

El idioma que quiero que quede como original es el español y el catalán y en inglés como traducciones.

Una vez tengo los idiomas desconectados del catalán voy al catalán de nuevo para asignarlo como traducción del español. Al conectar me sale el recuadro que has comentado de "Establecer el Catalán como idioma original para este page" . No entiendo si que tengo que marcar esta opción o no. Entiendo que no porque quiero que el español sea el original i las traducciones el catalán y el inglés.

Es esto correcto?

Adjunto captura de la pagina que comento.

Saludos

Captura de pantalla 2024-07-05 172742.jpg
julio 8, 2024 a las 4:01 am #15909300

Prosenjit Barman
Partidario de WPML desde 03/2023

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

You're correct. You don't need to check that option unless you want to set the Catalan page as the source page for the translation.

So, please keep that option unchecked and save the changes. The source page will then be set to the Spanish page.

Feel free to let me know if you need further assistance or clarification. I will be happy to help.

Best regards,
Prosenjit

julio 8, 2024 a las 9:10 am #15911367

joanI

Hola, ok queda entendido.

Ya conseguí que funcione pero ahora me queda el sistema de traducciones con el Editor de WordPress.

Si activo de nuevo el Editor de traducción avanzado de WPML me aparece sin textos.

¿Cómo lo puedo volver a activar si perder las traducciones después cambiar el idioma por defecto de la web?

adjunto captura

Gracias

traducciones.jpg
advanced.jpg
julio 9, 2024 a las 3:58 am #15917074

Prosenjit Barman
Partidario de WPML desde 03/2023

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

I'm glad to hear that you've successfully been able to change the Source language.

Regarding the empty contents in the Translation Editor, this issue often occurs if the page was previously translated using the WordPress editor but is now being translated using the WPML Translation Editor. Since translation memories are not shared between different translation methods, you will not see the translated contents from the previous editor in the new WPML Translation Editor. Please check the guide below for more details.

- https://wpml.org/faq/why-arent-my-translations-showing

Since you've changed the source language, this is also a reason for the issue. Because the source language of the page has been changed, the content needs to be translated from Spanish to English again. As no translations have been made from Spanish to any other language, the translation memory does not contain any translation data. This is why the translation editor appears empty, requiring you to add the translation again.

However, the Catalan translation should still be working on the frontend. If you want, you can copy the translation from the frontend and paste it into the Catalan translation section. This way, you can fully complete the Spanish to Catalan translation.

I hope this clarifies the situation. Please feel free to let me know if you need further clarification and assistance. I will be happy to help.

Best regards,
Prosenjit

julio 16, 2024 a las 7:26 am #15958572

joanI

Hola, todo ha quedado resuelto. Muchas gracias