I have completely translated the Oxygen theme 100% and the woocommerce plugin is already 100% translated :
However I still have 2 strings that are not translated in my account page :
When I looked at the source code at file form-edit-account.php, it seems that in oxygen source file, it does have these 2 strings :
"Current Password (leave blank to leave unchanged)" "New Password (leave blank to leave unchanged)"
and the same file in woocommerce has :
"Current password (leave blank to leave unchanged)" "New password (leave blank to leave unchanged)"
Notice the "P" is uppercased in theme source file. What I do not understand is that even if I translated these strings in oxygen theme, they still appear in English :
Why is my translation not working ONLY for these 2 strings ?
One thing to notice is that if I rename the strings from oxygen theme in form-edit-account.php file exactly the same as the strings in woocommerce plugin, the translation is working but I suspect it's woocommerce translation that is used.
I have checked this file inside Oxygen and these strings are assigned to WooCommerce, so they should be translated with WooCommerce translate files. However there were some differences that prevented the translations (as you suggested) so I have update the template to latest version in order for these translations to be applied:
Download this file and replace it in this directory (of the theme): /themes/oxygen/woocommerce/myaccount/
Hi,
I have completely translated the Oxygen theme 100% and the woocommerce plugin is already 100% translated :
However I still have 2 strings that are not translated in my account page :
When I looked at the source code at file form-edit-account.php, it seems that in oxygen source file, it does have these 2 strings :
"Current Password (leave blank to leave unchanged)"
"New Password (leave blank to leave unchanged)"
and the same file in woocommerce has :
"Current password (leave blank to leave unchanged)"
"New password (leave blank to leave unchanged)"
Notice the "P" is uppercased in theme source file. What I do not understand is that even if I translated these strings in oxygen theme, they still appear in English :
Why is my translation not working ONLY for these 2 strings ?
One thing to notice is that if I rename the strings from oxygen theme in form-edit-account.php file exactly the same as the strings in woocommerce plugin, the translation is working but I suspect it's woocommerce translation that is used.
Thank you for your help
Hi ,
I have checked this file inside Oxygen and these strings are assigned to WooCommerce, so they should be translated with WooCommerce translate files. However there were some differences that prevented the translations (as you suggested) so I have update the template to latest version in order for these translations to be applied:
Download this file and replace it in this directory (of the theme): /themes/oxygen/woocommerce/myaccount/
Hi Arlind,
Sorry for late answer I was in vacation, after replacing the file, the translations are working great.
Thank you !
Hi phonylux,
I am glad to hear that it worked for you, these changes are also added in the latest update.
Will set this ticket as closed now.