Re: localizing a cmd line app
Re: localizing a cmd line app
- Subject: Re: localizing a cmd line app
- From: John Joyce <email@hidden>
- Date: Wed, 26 Jan 2011 09:22:30 -0600
On Jan 26, 2011, at 9:03 AM, Alexander Cohen wrote:
> Does anyone have any pointers on localizing a cmd line app? Like how can i have different Localizable.strings for different languages in the cmd line app? I know i could use a bundle specifically for this but that seems like a bit too much.
>
> thx
>
> AC_______________________________________________
>
You should use a bundle if you will have a separate strings file. It's going to be a lot easier.
You could also hardcode your strings.
Beyond that, consider how to handle interactions with other CLI tools. Many do not handle non-ASCII strings well.
So, piping can be a potential problem.
Unfortunately, there's not a standard way (usually no way) to ask a tool piped to what it can handle.
Also, terminal settings and choice of shell can affect it.
_______________________________________________
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