Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 1 voice.

Last updated by mariaA-45 1 year, 11 months ago.

Author Posts
July 7, 2023 at 1:30 pm #13968329

mariaA-45

Tell us what you are trying to do?
I translated my page from Danish to English. I was expecting that the header menu link to the my-account page is adjusted automatically according to the current language. For instance:
develobaby.com/da/my-account (for Danish) and
develobaby.com/en/my-account (for English).

But the link always never includes a lang code "da/" or /en". It doesn't change, when I change language in the footer language switcher.

Is there any documentation that you are following?

Is there a similar example that we can see?
develobaby.com
(please the my-account-link at the far right of the menu and the language switcher in the footer).

July 7, 2023 at 3:48 pm #13969387

mariaA-45

Hi again,

I think I resolved this issue myself following this guide (Google Translate was my friend).

https://wpml.org/fr/forums/topic/user-link-my-account-in-header-icon-not-translating/

Best,
Maria