Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2013 at 14:18 UTC
Updated:
5 Aug 2013 at 13:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
czigor commentedComment #2
damienmckennaI think a better way would be to move the translation functionality to getForm().
Comment #3
damienmckennaComment #4
damienmckennaYou know, after spending half-an-hour digging through the meta tag definitions and various form fields, etc, changing the module so that the strings were only translated upon display in forms, I've realized that a) it's much more work, b) it is unreliable anyway as many strings, particularly meta tag descriptions, have string replacements for e.g. URLs that would be much more effort to replicate.
So I'm going to test the patch in #1 a little more and will then probably commit it as-is.
Comment #5
damienmckennaThis is a little better as it isn't dependent upon using a global variable.
@czigor, does this work for you?
Comment #6
czigor commentedThis does not work. language_default() returns the same language (the default site language) and not the actual language.
Leaving it on needs review as #1 still works for me.
Comment #7
damienmckennaI checked with some others on the language identification and am happy with this patch. Committed! Thanks czigor!