Re: Changing the app language
Re: Changing the app language
- Subject: Re: Changing the app language
- From: "Jeff Bland" <email@hidden>
- Date: Sat, 28 Jul 2007 13:53:20 -0600
Brian Willoughby said:
> While this whole subject is an interesting learning exercise, I tend
> to agree with the others who have said that there really is no
> realistic situation in which a user would actually need to change the
> language for a single application like you're trying to enable.
> You're fighting a few central behaviors of AppKit. Maybe you could
> put your time into something else a little more promising?
>
>
I wouldn't call it fighting behaviors of Appkit, since I'm simply modifying
a preference as any application would (just a different preference). I also
don't think a language option in an application is that unusual, perhaps on
Mac it is since Mac OS X has a wonderful set of system level language
services that applications don't usually need to include this kind of thing,
as several of you have pointed out.
My application aside though, it is interesting that under Mac OS X,
real-time features such as live resize and having preferences update as you
change them are supported and encouraged - but when it comes to switching
languages one has to restart the computer (or relaunch each application you
want changed - and I'll bet many users don't know how to relaunch finder
since there's no quit option under finder) before your language preference
shows up. I've been in situations before where I let a speaker of another
language borrow my computer for a sec or had to show someone something on my
computer who doesn't read the language I'm working under. While these
situations aren't all that common they do happen, I (and probably many
multi-lingual people) would be a happy to see Apple add more support for
real-time language switching (for example, if finder hooked in for a
notification of changes to AppleLanguages and updated it's menu items - and
some documentation on how to do that in your own programs).
On 7/28/07, Juan Nunez-Iglesias <email@hidden> wrote:>
Actually I've often wished that I could have only selected
applications in Spanish. Also, to be able to temporarily change the
localisation of an app in order to navigate it with my Spanish friends
and family more easily. In general I work in English. So, more power
to Jeff! Unfortunately I'm a total beginner in Cocoa so I can't help
you. =)
Thanks, there are times when these sort of things are useful (I've been in a
few situations myself).
Since it only took me an hour or so to get the languages swapping using
Douglas's method, it's not that big of a development investment. Of course
the open/save panels don't update until you restart so really at this point
I'm debating with myself both whether having a language preference inside my
application is the right way to go given the development time, and whether
having one that updates most but not all of the text is better than not
having one at all.
All of this is certaintly a good learning experience and an interesting
conceptual debate of application design.
Thanks for your input,
- Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden