Re: Localization under Catalina
Re: Localization under Catalina
- Subject: Re: Localization under Catalina
- From: Martin Wierschin via Cocoa-dev <email@hidden>
- Date: Wed, 27 May 2020 13:37:05 -0700
> 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.
~Martin Wierschin
Nisus Software / Developer
Solana Beach ☀️ California
_______________________________________________
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