I came I came across the issue Product label translations show up in incorrect language on a Drupal commerce site.
I tracked down the problem to the function
The problem is that the function calls
$extra = module_invoke_all('field_extra_fields'); and in turn hook_field_extra_fields() is called returning localized data however.
The field information together with the extra field info is then cached into the cache_field table as 'field_info_fields':
cache_set('field_info_fields', $info, 'cache_field');.
This leads to one language getting stuck in cache and showing for all other languages
I created a patch (to follow) however I may be missing the point and this is not a core issue
PASSED: [[SimpleTest]]: [MySQL] 64,730 pass(es).
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.
|#59||extra-fields-localized-reroll-1810178-59.patch||4.29 KB||Rajesh Ashok|
FAILED: [[SimpleTest]]: [MySQL] 62,882 pass(es), 2 fail(s), and 10,375 exception(s).
|#56||extra-fields-localized-1810178-56.patch||4.49 KB||David Hernández|
PASSED: [[SimpleTest]]: [MySQL] 59,222 pass(es).
FAILED: [[SimpleTest]]: [MySQL] 58,497 pass(es), 3 fail(s), and 24,233 exception(s).