Closed (duplicate)
Project:
Metatag
Version:
8.x-1.x-dev
Component:
Multilingual/intl
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Dec 2016 at 12:57 UTC
Updated:
27 Jan 2018 at 21:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
malatenszki commentedComment #3
damienmckennaI'm sorry you're having this problem.
I presume that example page is a Views page?
Comment #4
damienmckennaI think the first step is to confirm exactly what you're trying to do, then write a test that mirrors that process, and then fix any bugs that show up for it.
Comment #5
damienmckennaComment #6
malatenszki commentedComment #7
flocondetoileMalatenszki,
Have you fixed this issue on views page ?
I experienced same issue too ? Could you share your feedback ?
Comment #8
pminfI can confirm this. Steps to reproduce:
@flocondetoile: Are you working on this? Otherwise please change status to Unassigned.
Comment #9
noximuz commentedSame issue here when using Drupal (8.3.2) Book pages in multilang site with metateg module. Any solution yet?
Comment #10
roam2345 commentedThe simplest work around for me to fix this is to do the folllowing.
- Enable the metatag views module.
- Then override the metatag for the view with "[view:title] | [site:name]" or what ever your pattern is.
Comment #11
vegardjo commentedI'm having the same issue with Panel pages, the title was translated till I enabled Metatag module, then it fell back to the original title for both languages. As I only needed Metatag to change the title for user entities what worked for me here was removing the title token entirely from the global settings.
Comment #12
kostask commentedI am experiencing the same issue with views in non English default language and metatags.
The solution proposed by lathan (Enable metatag views module & override defaults on the view) fixes the problem.
Digging a little bit on the code I found that the untranslated page title is being overriden by metatag_preprocess_html() where the title is being set by the result of metatag_get_tags_from_route() which returns the untranslated original views title.
Comment #13
5n00py commentedAfter investigation I found main issue:
#2716019: View titles in breadcrumb and metatag title don't get properly translated
Last patch from original issue also fixes this one.