realbasic-nug
[Top] [All Lists]

Re: Localization question

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Localization question
From: Peter De Berdt <peter dot de dot berdt at pandora dot be>
Date: Mon, 28 Feb 2005 15:53:12 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050228081825 dot 84B1E76632A at lists dot realsoftware dot com> <1bef4113fba9e40214b623defc5f222d at scriptsoftware dot com>

On 28 feb 2005, at 13:14, Sam Rowlands wrote:

You will have to pragmatically do this in code. You can use the MBS plugin to find the user current language. Then I would suggest using XML files and the XMLDictionary for storing the localization content. Then in you code you just look to replace strings from the Dictionary.

... and implementing on-the-fly localization begs for an Observer pattern (you register all controls to translate with an Observer, which triggers an update function when changing the language).


Best regards

Peter De Berdt


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>