Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wanted to translate a string of text coming from his footer PHP template

Solution:
1. Finding the string
- Go to "WPML > Theme and plugins localization" and rescan your theme or child theme.
- Then go to "WPML > String translation" and search for those strings to translate them.
2. If you can't find those strings, it could be that they didn't get properly coded with "GetText":
- Open your footer.php file et edit it following this tutorial: https://wpml.org/documentation/support/translating-the-theme-you-created/
- It should look something like this:

<?php _e('Copyright text here', 'TextDomain here'); ?>

- Then repeat step #1 to translate the strings in "String translation"

Relevant Documentation:
https://wpml.org/documentation/support/translating-the-theme-you-created/
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum French. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Étiqueté : 

This topic contains 2 réponses, has 2 participants.

Last updated by Fulvio Di Stefano il y a 1 an et 5 mois.

Assisted by: Nicolas Viallet.

Auteur Messages
Septembre 28, 2022 à 12:43 pm #12140903

Fulvio Di Stefano

Hello We would like to translate the Footer (Copyright text) which is in the footer.php file of our site based on the Avada wordpress theme with the WPML plugin.
We would like to know how to translate the copyright

hidden link

Thanks

Septembre 28, 2022 à 3:53 pm #12142533

Nicolas Viallet
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. My name is Nicolas and I will be happy to help you today.

If I read you well those strings of text are directly added in your footer.php file (so it's not a string that you can change on your theme setting page for example)?

1/ In that case:
- Go to "WPML > Theme and plugins localization" and rescan your theme or child theme.
- Then go to "WPML > String translation" and search for those strings to translate them.

2/ If you can't find those strings, it could be that they didn't get properly coded with "GetText":
- Open your footer.php file et edit it following this tutorial: https://wpml.org/documentation/support/translating-the-theme-you-created/
- It should look something like this:

<?php _e('Copyright text here', 'TextDomain here'); ?>

- Then repeat step #1 to translate the strings in "String translation"

Nico

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.