This thread is resolved. Here is a description of the problem and solution.
Problem: The links added to some new strings are not pointing to the right language. They stay the same when changing the language while they should have the /?lang=it at the end. Solution: The solution is to use a filter hook. Relevant Documentation: https://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/
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.