neerajB
When we running site in arabic it is printing varible instead of usename on my account page like this
مرحبًا٪ 1 $ s (لست٪ 1 $ s؟ تسجيل الخروج )
in english it is like this Hello ns_admin (not ns_admin? Log out)
Site link: hidden link
Waqas Bin Hasan
WPML Supporter since 05/2014
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
Hi,
Thank you for contacting the support.
Meanwhile this ticket is attended by one of my colleagues, may I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.
I've enabled the debug information section for your next reply.
Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.
See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.
Regards.
neerajB
Dear Hasan,
I have cross checked in FAQ check list but I cannot find my solutions.
Also I have added debug info
Kindly help to fix the issue asap.
Thanks
Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
Hi,
I'm Osama from WPML forums support. I'll be glad to help you today.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Best regards,
Osama
neerajB
Dear Osama,
Actually this is the problem in a translation file
/wp-content/languages/plugins/woocommerce-ar.po
This is the translation which is creating problem
#. translators: 1: user display name 2: logout url
#: templates/myaccount/dashboard.php:35
msgid "Hello %1$s (not %1$s? Log out )"
msgstr "مرحبًا %1$s (لست %1$s؟ تسجيل الخروج )"
Please review below woocommerce-ar-po file and let know how to fix this.
hidden link
Looking forward for your response.
Thanks
Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
Hi,
Please search for this string in WPML-> String Translation, and make sure it's translated correctly. (Hello %1$)
From your screenshot, it seems that in String Translation, you used the Arabic character for the percentage sign (٪) instead of the English one (%).
Best regards,
Osama