Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 12.1 ('Smart Localization')
Instant purchase and download via GumRoad!

FEATURE

Smart Localization

secondary headline

Issue: 12.1 (January/February 2014)
Author: Trisha Duke
Author Bio: Trisha Duke is lead developer for Mediatec Limited, London and has been using Xojo for several years.
Article Description: No description available.
Article Length (in bytes): 9,063
Starting Page Number: 47
Article Number: 12106
Related Link(s): None

Excerpt of article text...

In the second of my series of three articles, I would like to discuss localization.

Firstly, I defined a property gLanguage which I used in most of the modules which involved localization. This value can be set in the preference screen. When the user first logins through the splash screen of my application, this value in the preference table is assigned to gLanguage.

I had thought about using the Language from the Windows/Mac OS but some of my clients want to use our application in English with English data although their operating system is in French since they are located in France. Also we have other clients who are using our application in French with French data, but they are located in London and travel a lot all over the world.

CREATE TABLE tblErrorMessage

(ErrorID integer NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,

...End of Excerpt. Please purchase the magazine to read the full article.