1. A method of controlling an electronic device provided with functionality for composing and sending messages in accordance with at least one text-based messaging service, comprising, in response to execution on the electronic device of a message-composition process for composing a message to be sent to a recipient of the message via said text-based messaging service, setting a language configuration of the electronic device in conformance with language data associated with the recipient, wherein said language data indicates a language to be used for composing the message, wherein setting the language configuration of the electronic device comprises setting a keyboard layout of a virtual keyboard displayed on a display of the electronic device in conformance with said language data, wherein when the message is a reply to an earlier incoming message from said recipient, processing the earlier incoming message; when a main language of the earlier incoming message can be determined in said processing, setting the language configuration of the electronic device in conformance with the determined main language of the earlier incoming message; and when a main language of the earlier incoming message cannot be determined in said processing verifying whether the recipient is associated with a contact entry in a contact database stored in or accessible from the electronic device and whether said contact entry comprises data indicative of a preferred language of the recipient.
1. A method of controlling an electronic device provided with functionality for composing and sending messages in accordance with at least one text-based messaging service, comprising, in response to execution on the electronic device of a message-composition process for composing a message to be sent to a recipient of the message via said text-based messaging service, setting a language configuration of the electronic device in conformance with language data associated with the recipient, wherein said language data indicates a language to be used for composing the message, wherein setting the language configuration of the electronic device comprises setting a keyboard layout of a virtual keyboard displayed on a display of the electronic device in conformance with said language data, wherein when the message is a reply to an earlier incoming message from said recipient, processing the earlier incoming message; when a main language of the earlier incoming message can be determined in said processing, setting the language configuration of the electronic device in conformance with the determined main language of the earlier incoming message; and when a main language of the earlier incoming message cannot be determined in said processing verifying whether the recipient is associated with a contact entry in a contact database stored in or accessible from the electronic device and whether said contact entry comprises data indicative of a preferred language of the recipient. 4. The method according to claim 1 , wherein setting the language configuration of the electronic device comprises setting a dictionary language of a predictive-text process of the electronic device in conformance with the language data.