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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to