Este usuario no tiene temas favoritos.
Temas favoritos del foro
Temas del foro creados
Estado |
Tema
|
Colaborador | Voces | Publicaciones | Actualidad |
---|---|---|---|---|---|
Filter Translation
Iniciado por: sakisK-2
en: English Support
Problem: Solution: __() and _e() , specifying a text domain. Here’s how you can modify your code: $thank_you_msg = __('Status: Order Completed & Paid!', 'your-text-domain') . '<br /><br />' . __('You are all set! You can now close this tab and head over to your email inbox for all the details about your challenge.', 'your-text-domain'); After modifying the code, go to WPML → Theme and plugins localization and scan your child theme for new strings. This will register them in WPML’s String Translation, where you can provide translations. For more details on adding gettext calls and scanning themes, visit Adding GetText Calls to PHP Code and Scanning a Theme or Plugin to Update Existing Translations. Ensure you are properly loading the text domain in your theme. For guidance, see load_theme_textdomain and Text Domain. Always back up your database before making changes. If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum. |
|
0 | 5 | hace 2 días, 11 horas | |
Deleting pages and it's translations
Iniciado por: sakisK-2 en: Chat Support |
|
1 | 2 |
hace 4 años, 9 meses
|