Re: loading French strings being in English language

2010-08-01 Thread Mark Ritchie
Hey! On 31/Jul/2010, at 10:41 PM, cocoa learner wrote: > Any example or code snippet will help here. Sure! ;-) // get the shared defaults object NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; // remove any previous setting for languages [userDefaults removeObjectForKey:@

Re: loading French strings being in English language

2010-07-31 Thread cocoa learner
Well I will put myb problem clearly here - 1>. I have an App with language being mentioned in radio button. 2>. Being in english user can choose French/German/Japanese etc. And my app should change the *language/input method/keyboard layout* without being terminated. Any example or code snippet w

Re: loading French strings being in English language

2010-07-31 Thread John Joyce
Hi Alex, This is understandable. Layouts can be heavily impacted by localization differences. I do not know your app, but one other approach you might take would be to move as much as possible into icon-based controls in the application in order to avoid the delta between the localized strings

Re: loading French strings being in English language

2010-07-31 Thread Alex Kac
Yeah, we have string files, but we also have tons of NIBs. Since the NIBs have varying widths and other customizations per language - I'd prefer not to have to go this route. Its just not worth the efort. On Jul 31, 2010, at 8:41 PM, John Joyce wrote: > Hi Alex, > > You might build a few simpl

Re: loading French strings being in English language

2010-07-31 Thread John Joyce
Hi Alex, You might build a few simple strings files, and simply reference and load those based on the stored user preference for the app. This can be particularly convenient for apps that need the ability to load various languages. Beyond that, you may want to clearly identify the use-case and n

Re: loading French strings being in English language

2010-07-31 Thread Alex Kac
Right - honestly its just a few people here and there who ask for it for business reasons. If there was an easy way - such as NSUserDefault we could set that would tell the OS - use our English NIBs and strings - that's what we'd be looking for. Without that, its just not worth it. On Mac OS X

Re: loading French strings being in English language

2010-07-31 Thread John Joyce
Hi Alex, In this case, are they requiring the OS language be in English? If the OS is in French, or another language, it is still possible to change your app's UI labels to any string you desire. It is a bit more work for you to implement. However, OS supplied services, such as copy/paste will sti

Re: loading French strings being in English language

2010-07-31 Thread Alex Kac
Well there are a couple reasons on the iPhone in our case. First, some users have devices that are set to languages like French or German, but they want to run the app in English. Why? I'm told it has to do with some business preferences or something. On iPhone its all or nothing. So at least

Re: loading French strings being in English language

2010-07-31 Thread Kyle Sluder
On Jul 31, 2010, at 1:15 PM, cocoa learner wrote: > True. That can be done. But I am looking for standard way of doing instead > of creating a Dictionary from the strings file. And at the same time I would > like to change keyboard input (from English to French based on the option > chosen from m

Re: loading French strings being in English language

2010-07-31 Thread cocoa learner
True. That can be done. But I am looking for standard way of doing instead of creating a Dictionary from the strings file. And at the same time I would like to change keyboard input (from English to French based on the option chosen from my App radio button). On Fri, Jul 23, 2010 at 10:57 PM, Doug

Re: loading French strings being in English language

2010-07-23 Thread Douglas Davidson
On Jul 23, 2010, at 10:24 AM, Matt Neuburg wrote: > On Thu, 22 Jul 2010 11:19:32 +0200, Giacomo Tufano said: >> Il giorno 22/lug/2010, alle ore 11.15, cocoa learner ha scritto: >> >>> I have localized my app in English and French languages. >>> But I want to load French strings being in English

Re: loading French strings being in English language

2010-07-23 Thread Matt Neuburg
On Thu, 22 Jul 2010 11:19:32 +0200, Giacomo Tufano said: >Il giorno 22/lug/2010, alle ore 11.15, cocoa learner ha scritto: > >> I have localized my app in English and French languages. >> But I want to load French strings being in English language based on radio >> button input (English and French

Re: loading French strings being in English language

2010-07-22 Thread Giacomo Tufano
Il giorno 22/lug/2010, alle ore 11.15, cocoa learner ha scritto: > I have localized my app in English and French languages. > But I want to load French strings being in English language based on radio > button input (English and French). > > Is it possible? > Is there any cocoa way of doing this?

Re: loading French strings being in English language

2010-07-22 Thread cocoa learner
Thanks GT for your reply and interest. I know one way that preparing a key-value dictionary from string table and rendering those. But at the same time I would like the input to change as well. That is if French is selected then the input (keyboard) also change to French input. So I am looking for