[futurebasic] Re: [FB] Internationalization / localization with FBtoC

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2009 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Fri, 09 Jan 2009 19:28:17 +0100
Rich Love a écrit :
> I am doing a test to see how localization will work.
> I want to have a French MacWise version.
> 
> I use a nib file for my MacWise resources (dialog windows and menus).
> So far, no luck. As a test, I changed one Menu name from "Connection" to 
> "Connexion"
> When I launch MacWise, I expect to see the menu name to be the French 
> word, "Connexion"
> But it is still in English as "Connection"
> 
> Here is what I tried.
> 
> Created a folder in my project folder called "fr.lproj"
> Moved a copy of my MacWise nib file into that folder.
> Opened that file with Interface Builder
> Changed the Connection menu name to Connexion.
> Added the following line to my program
> include resources "fr.lproj"
> 
> When I compile the FBtoC project, it correctly creates the fr.lproj 
> folder with the correct French nib file.
> The problem is, that nib file is not getting used when I run MacWise.
> 
> According to developer documentation, when the user opens the 
> International Preference panel and moves French to the top of the list, 
> that becomes the preferred language that applications should use.
> 
> Not working.
> 
> Anybody know what I am doing wrong?
> 

Rich,

Perhaps you should restart the Finder session.

Alain