Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
My site is single language - Vietnamese language. I don't want change GUI / translate anything to Vietnamese but contents: articles, pages. So, I don't enable any modules in group named Multilingual, it is not necessary and makes site heavy.
How I change some codes in Metatag module to make Metatag thinks that "vi" as "en", because every link has hreflang="en" while every thing in Vietnamese.
Thank you very much!
Comment | File | Size | Author |
---|---|---|---|
hreflang.png | 153.25 KB | superthin |
Comments
Comment #2
DamienMcKennaIt would probably be best to use hook_metatags_alter() to change the output, check metatag.api.php for details.
Comment #3
superthin CreditAttribution: superthin commentedComment #5
DamienMcKenna