> On May 27, 2020, at 2:37 PM, Martin Wierschin <mar...@nisus.com> wrote:
> 
>> Auto layout (not auto-resizing) is independent of localization.  You don’t 
>> need to switch to auto layout to support Base localization
> 
> It's true that autolayout has many benefits aside from localization. But I'd 
> say it's only partially true that you can switch to Base.lproj for 
> localization without converting to autolayout. 
> 
> Without autolayout the translated text from your strings files probably won't 
> look very good injected into your Base UI. You might be able to finagle it if 
> you use certain control placements, or make your controls really wide so 
> longer translated text doesn't overlap adjacent controls and that kind of 
> thing, but it's going to be awkward and finicky. Autolayout is really the key 
> to making a single set of source xibs from Base.lproj work for all 
> localizations.
        True.  I had forgotten about different length strings in different 
locs.  I switched to auto layout & base loc years ago, so my memory is a little 
rusty on the conversion process. 

—Rob


_______________________________________________

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

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

Reply via email to