I've similar or the same issue as #2113501.
The problem is very simple:
- I have view meta tags (title and decription)
- I translate it to other languages and use token values and text
When I switch language site, tokens correctly displayed in current language but all other text displayed as original phrases (that are used for default site language).
Full clear cache didn't help.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | metatag-2831198-03.patch | 2.76 KB | feyp |
Comments
Comment #2
gvancout commentedChanging and saving the description in the core language, fixed this issue for me.
Comment #3
feyp commentedThe context used for retrieving translated views metatags differs from the context they are being saved with. That's why the translations are not found and the original string is being displayed. The context they are being saved as could produce ambiguous context names I decided to keep the context used for retrieval and add an update hook to move all unambiguous contexts. Attached is a patch against 7.x-1.x-dev.
Comment #4
simon georges commentedThat worked for me: without this patch, I couldn't translate a Views META description (I mean I could translate the string, but the translated version was never used), with this patch, everything works. Thanks a lot!
Comment #5
damienmckennaCommitted. Thank you.