realbasic-nug
[Top] [All Lists]

Localization question

To: realbasic-nug at lists dot realsoftware dot com
Subject: Localization question
From: Sam Rowlands <sam at scriptsoftware dot com>
Date: Mon, 28 Feb 2005 12:14:22 +0000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050228081825 dot 84B1E76632A at lists dot realsoftware dot com>
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.

On Feb 28, 2005, at 8:18 AM, realbasic-nug-request at lists dot realsoftware dot com wrote:

Message: 1
Subject: Localization question
From: Jorge Duran-Ballen <jorge at workflowwizards dot com>
Date: Mon, 28 Feb 2005 00:00:25 -0500

I have an application that will be used in at least two different
languages. The user will be able to specify the prefered language, and
the app should change on the fly (menus, controls, static text, etc,
plus window content specific to my app).

I have no idea how to programatically change the language and/or region
in RB, nor how to read the current language setting.

It is very easy to specify constants for each language, but how do I
specify just for my app what language to use? I do not want to force
the user to change in the system.

Plus, the app will run in Mac & Win, so the solution must be
cross-platform.

--
Jorge Duran-Ballen
mailto:Jorge at WorkflowWizards dot com

Mahalo & Aloha,

Sam Rowlands

_______________________________________________
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>