Why does my string not get translated?
-
Hello
I’m using WPML to translate my WooCommerce site. My site is in English and French. If you are not logged in the menu displays a “login” button, and if you are logged in, it switches to a “My Account” button. I made this function in the theme code, and so I have used __(‘login’) and __(‘My Account’) in order to make it translatable. Both of them show up in translation strings and I’ve translated both of them, but for some reason the “My Account” button does not switch to the French translation when the site is in French. The Login button works perfectly, but I just can’t make the My Account button translate. Can anyone help me?
The page I need help with: [log in to see the link]
- The topic ‘Why does my string not get translated?’ is closed to new replies.