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!

CommentFileSizeAuthor
hreflang.png153.25 KBsuperthin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

superthin created an issue. See original summary.

DamienMcKenna’s picture

Component: Code » Multilingual/intl
Status: Active » Fixed

It would probably be best to use hook_metatags_alter() to change the output, check metatag.api.php for details.

superthin’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture

Assigned: superthin » Unassigned