I'm familiar with auto-layout actually with other projects. I thought it was needed for the "new" way of localising because you need to resize captions to fit longer strings (in the case of German for example). I'll definitively look into it. Is there a facility in Xcode to extract the current translated strings from the nib files? Is that handled as part of the automatic conversion?
Eyal > On 27 May 2020, at 22:50, Rob Petrovec <petr...@mac.com> wrote: > > Auto layout (not auto-resizing) is independent of localization. You don’t > need to switch to auto layout to support Base localization. So you can > convert your nibs over to Base Localization with a couple clicks in Xcode, > and then you just need .strings and .stringdict files in your .lprojs instead > of a TON of duplicate .nibs that constantly need updating. If you make a > change in the base nib all the localizations will pick it up. > > With that said, Auto Layout is leaps & bounds better than the old > autoresizing mask stuff. Make sure you read & understand the auto layout > documentation before starting of course. But once you do convert over you > will wish you had done it earlier. It is SOOOOO much better. Plus it > handles positioning views automagically between Left-To-Right localizations > like English and Right-To-Left localizations like Hebrew. > > —Rob > > >> On May 27, 2020, at 1:26 PM, Eyal Redler via Cocoa-dev >> <cocoa-dev@lists.apple.com> wrote: >> >> AppleGlot used to work fine for me but I agree, I should move to Base.lproj >> etc. But now I need to ship a new version of the app and I can't really >> afford to spend the time converting everything to auto-resizing. >> I foolishly upgraded to Catalina only this week, and this put me in a very >> delicate situation. >> >> Eyal >> >>> On 27 May 2020, at 22:14, Martin Wierschin <mar...@nisus.com> wrote: >>> >>> I remember AppleGlot. I also remember how terrible it was, at least way >>> back when it was first around. In the intervening years I preferred >>> loc-suite. As Georg said, it's a very good tool. But all that's obsolete >>> now. >>> >>> You ultimately should convert your nibs to Base.lproj. The current Xcode >>> localization process is way better than the bad old days where you had to >>> keep endless translated nibs in sync. The conversion job is a good amount >>> of busy work, and autolayout may give you pain initially, but ultimately >>> using Base.lproj + autolayout + translated .strings files is much cleaner. >>> >>> ~Martin Wierschin >>> Nisus Software / Developer >>> Solana Beach ☀️ California >>> >> >> _______________________________________________ >> >> 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/petrock%40mac.com >> >> This email sent to petr...@mac.com > _______________________________________________ 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