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 13:50:40 -0600
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
> <email@hidden> 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 <email@hidden> 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 (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
_______________________________________________
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