This topic has 7 replies, 2 voices, and was last updated 1 years, 1 months ago ago by NelsonTsai
Dear Sir,
I modified the local-theme/woocommerce/my-account files, translated some text to Chinese.
Most parts were done, only one weird thing.
If my cursor hovering to “Account Icon” of header menu, a off-canvas or drop-down login page shown in English Text, the browser MUST not stay in shop/my-account URL.
If I browse to shop/my-account/ URL, everything seems okay, no English Login menu/pop-up.
May I know how to fix that in the right way?
Best Regards,
Hello, NelsonTsai,
Thank you for choosing XStore as your WooCommerce WordPress theme.
1/ Please read this article – https://xstore.helpscoutdocs.com/article/30-base-theme-translation
These strings https://prnt.sc/q3KC4kDPCxjS originate from the XStore Core plugin, so you need to translate them using Loco translate as outlined in our documentation.
2/ The dropdown feature is not available on the My Account page as it is a predefined behavior. There is no option to enable it as it is not necessary for this page.
If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.
Kind Regards,
8theme team
Hello,
I’ve got your point, and try the loco.
However I happened to troubles using loco for XStore Core plugin. For example I can translated the “username or email” phrase, but not “Password”, those strings are in the same drop-down popup.
It may out of scope for this support, I guess it came from unknown hiccups to my WP with loco. Do you have similar experiences?
Best Regards,
Hello, NelsonTsai,
Thank you for the reply.
Please go to Loco translate > Plugins > XStore Core > click on Sync – https://prnt.sc/Ok7Uh36U-B8E , then find “Password” and add translation.
If this doesn’t help, please provide temporary wp-admin access, via the Private Content area, so we can take a closer look at the problem.
Kind Regards,
8theme team
Hello,
Before I provided the login info to you, I reset the loco’s modification for xstore-core and local-theme.
Redo few modifications for you to debug, then I found a way to make it work.
(1) I did loco translation-> plugins-> xstore-core, not working.
(2) I did loco translation -> theme -> local-them, both (previous plugins and theme modification) working.
Seems loco translation for local-theme and xstore-core plugins may not work independently under certain conditions.
Currently, I only modify “Username or email” and “Password” items.
You can check that at your convenience.
Regards,
Hello, NelsonTsai,
As we can see translation works fine now – https://prnt.sc/Umrd2VB49bn0
You are using a cache plugin, so do not forget to clear the cache before checking the result.
Kind Regards,
8theme team
Hello,
Yes, seems back to normal. Could be the reason sometimes I forgot to purge the cached data.
Tagged: customization, login-page, themes, translation, woocommerce, wordpress
The issue related to '‘Login-page customization and translation’' has been successfully resolved, and the topic is now closed for further responses