Re: Localization under Catalina
Re: Localization under Catalina
- Subject: Re: Localization under Catalina
- From: Eyal Redler via Cocoa-dev <email@hidden>
- Date: Wed, 27 May 2020 23:21:53 +0300
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 <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. 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