[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Session Language?
- To: uu@total-knowledge.com
- Subject: Session Language?
- From: "Alexey Parshin" <alexeyp@gmail.com>
- Date: Wed, 27 Aug 2008 22:44:58 +1000
- Delivered-to: mailing list uu@total-knowledge.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=DLMkADTqbBecjanw+q6jnFgWHB3NVdYmBwPghP3F8NE=; b=m9XEYumicjNAE1Vg3GVOwQCe7T3pZvgVE/uic5apkdJO7eRcSdWE7uLaORGjRXaT7W 9zSnSWagPOaFPqvbAfIr6byWGY1pFsAQX20RMPY0K9Up4WrMjD/Pv8nlrZSH/xQ7Wm7K 6+bZRgU/WXduE2BC/48tTVTwq+2WibR+k0VDg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=uEse4IYLeKFXAfuZLktIdOilXL7eFBksJ/MTrEZZaP4CBX+XfccfIoNpMwU+XE2S37 ghoMIiH4YXfqAPPBWpAlgshkD21WjedbKxfEdT6SKeJwF4VPc29G6c7ECMJFcFzVvOHX eynH/6FU2Tu0GxtUis8NoigNcxCgVq4NulLxU=
- Mailing-list: contact uu-help@total-knowledge.com; run by ezmlm
After implementing partial functionality of UMO edit, I've ran into an interesting problem:
When user wants to translate a UMO, he (she) opens the UMO. The UMO is shown in one of the languages of { preferred for this user, default for this UMO }. If the user wants to translate a UMO to a language that is different from { preferred for this user }, he (she) selects a language from combo box and clicks on the translate button. Then, the UMO content in required language is automatically created.
The problem is, in order to see that UMO content (in required language), one has to change own preferred language (in account settings, not implemented yet but coming soon) to that language. Same problem occurs if UMO has content in multiple languages already, and user wants to see a particular language content.
My suggested solution is to have a session active language that is changed (in session) if users selects a content on some language or clicks on 'Translate'. By default, that language is set to preferred at the session start.
--
Alexey Parshin,
http://www.sptk.net