Ir al contenido Ir a la barra lateral

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por svenS-38 hace 11 meses, 3 semanas.

Asistido por: Noman.

Autor Publicaciones
agosto 15, 2024 a las 2:24 pm #16074828

svenS-38

Background of the issue:
I am trying to: A lot of SEO-Tools (and usability tools) miss the ALT-attribute of the country flag links in the menu language selector of WPML. In HTML it looks like this (see below). Please fix this by implementing a standard ALT-Tag, e.g. just use the filename of the PNG-File and add " flag" to it, like "us flag" or "de flag". In a perfect world this would need to be translated (automatically) so on the US-Site: "english flag", "german flag" and on the DE-Site: "englische Fahne", "deutsche Fahne" But a simple (allways english-version) would work, too. Link to a page where the issue can be seen: enlace oculto

Symptoms:
I expected to see: Instead, I got:

Questions:
How can I add ALT-attributes to the country flag links in the WPML menu language selector?
Is it possible to automatically translate the ALT-attributes based on the site language?