Closed (fixed)
Project:
Message
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2012 at 15:10 UTC
Updated:
14 Mar 2012 at 14:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
amitaibuThe message field is translatable, so you should make sure you populate the correct text in every language. So you will not need your workaround.
Comment #2
bennetteson commentedI try it, take a look :

I try to find where the code fail, I see in the function entity_metadata_field_get_language that the selected language come back to LANGUAGE_NONE whatever the current language of the user.
I will try on a fresh install and update this issue.
Comment #3
bennetteson commentedDon't work on a fresh install to.
my config :
Drupal 7.12
local enabled with english and french.
French as default language.
files :
drupal : http://cl.ly/2I3i0i0V2d0Y2f2M3N1X
sql : http://cl.ly/0Q2D3t190k11093a0I0O
Comment #4
bennetteson commentedHere some screenshot of the fresh install.





Comment #5
bennetteson commentedComment #6
bennetteson commentedComment #7
amitaibuI am using Message on few mutli-langual sites, so defiantly it works, we just need to understand what doesn't work on your setup -- setting to support so it won't intimidate other users ;).
The entity API you are using looks a but old, espcialy considering this related issue -- #1376126: Fix language handling for translatable fields. Try to update to -dev version, and re-try.
Comment #8
bennetteson commentedThe entity API I use is the lastest dev version (Feb 28).
I think the entity API is too new and make message having this bug.
But I must use the One of the lastest dev version, one of my patch was merged into it, and I must use it.
I will try a oldest dev version of entity API.
Comment #9
amitaibuYes, might be related to -- http://drupal.org/node/1376126#comment-5665020
Comment #10
bennetteson commentedYes I suppose, I'm following this thread. Thx for your help.
Comment #11
amitaibuPlease try with latest Entity API -dev and with this patch -- #1461208: Add "language" property to message-type and message
Comment #12
amitaibuCan you provide a db dump, with anything not related to message disabled (I couldn't import the one in #3 for some reason)?
Comment #13
bennetteson commentedLook like it's fixed.
Tkx