For generic Spanish, the language code shows as es-LA, for Latin American Spanish. This has two problems:
1. My content is intended for Spain, too, not just Latin America.
2. Google can't figure out the hreflang when it is set at "es" and lang="es-LA"
What I want it to show is simply "es" in the header:
I tried editing the xf_language table and then changing something about the language to get it to clear the cache and start using "es", but it just clears the entry.
How can I edit the language code to just show the language without the country code?
Thanks
1. My content is intended for Spain, too, not just Latin America.
2. Google can't figure out the hreflang when it is set at "es" and lang="es-LA"
What I want it to show is simply "es" in the header:
Code:
<html id="XenForo" lang="es"
<html id="XenForo" lang="{$visitorLanguage.language_code}"
I tried editing the xf_language table and then changing something about the language to get it to clear the cache and start using "es", but it just clears the entry.
How can I edit the language code to just show the language without the country code?
Thanks