Re: Localization under Catalina
Re: Localization under Catalina
- Subject: Re: Localization under Catalina
- From: Rob Petrovec via Cocoa-dev <email@hidden>
- Date: Wed, 27 May 2020 14:47:31 -0600
> On May 27, 2020, at 2:37 PM, Martin Wierschin <email@hidden> 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 (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