Yes I understand that. I will have to modify/resize the UI once I have the strings in there. But the people who we are sending the strings out to be localized do not know anything about IB, so I don't want to confuse them or have them screw anything up. Once the strings have been localized we will go back and look a the UI and modify the sizes, alignment, etc. of the UI elements. I just thought there was an easy way to get the text out and put it back in the UI elements. I guess I will change the code to read all the strings from the .strings file, and we can send that out, and not have to worry about that part.

Thanks,


On Feb 2, 2009, at 8:58 AM, glenn andreas wrote:


On Feb 2, 2009, at 9:34 AM, development2 wrote:

I need to get all the textr from my app and plugins. Most of the text is in .string files so that is easy. But how do I pull the text form the UI in my .nib/.xib file to go out for translation? Then how do i put it back properly. I am thinking I may have to change the app and plugins to put all text in the .string files and just load the localized string from code. Is that the best way to do this?


No, you want to have localized NIBs/XIBs because as you go from language to language, and culture to culture, the size of various things will change, and certain other cultural specific changes may need to be made.

As a simple example, when localizing in German, many of the strings become much longer, which would require redoing the layout of views to not only make sure that all the text fits, but to also maintain visual whitespace balance. Another example is when the language is right-to-left instead of left-to-right which would require you to change the alignment of the elements in a similar manner.

See <http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/ > and specifically <http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingInterfaces.html >


Glenn Andreas                      gandr...@gandreas.com
<http://www.gandreas.com/> wicked fun!
JSXObjC | the easy way to unite JavaScript and Objective C






_______________________________________________

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