sebastienB-10
|
I would like to translate this link?
|
Noman
Supporter
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
|
So, you need to follow the below steps in order to translate the hardcoded URL:
1. Please take a backup of your site for security reasons.
2. Please replace the below line:
esc_url( '/boutique','woo-floating-cart'),
With:
esc_url(__('/boutique','woo-floating-cart')),
3. Please go to WPML >> Theme and plugins localization page and scan the theme/plugin in which you update the above code.
4. Please go to WPML >> String Translation and search this link “boutique'” and add the translation.
Here are docs for more details:
https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/
Please let me know if this resolves your issue or if you need further assistance with this issue.
Thank you
|