Re: Frustration with ibtool and localization [Solved]
Re: Frustration with ibtool and localization [Solved]
- Subject: Re: Frustration with ibtool and localization [Solved]
- From: Ricky Sharp <email@hidden>
- Date: Mon, 23 Nov 2009 15:34:47 -0600
On Nov 22, 2009, at 4:49 PM, Markus Spoettl wrote:
> On Nov 22, 2009, at 8:51 PM, Ricky Sharp wrote:
>> From my original e-mail:
>>
>> "Has anyone successfully used ibtool to simply re-import a .strings file into an existing .xib? I have a specific need to perform this scenario (For my needs, I cannot use the scenario involving the creation of a new .xib using the --write option)."
>>
>> I need to get the following to work:
>
> I guess I'm not following. What is the difference between merging a .strings and a .xib file into a new version of that .xib (which you could copy over the original when done) and importing the .strings into the original overwriting it directly. Apart from the obvious extra step and file of course. Is there something special about the re-import that doesn't happen with the --write approach?
Thank you again, Markus.
Using the same file for both input and output works beautifully:
ibtool --strings-file foo.strings --write ./foo.xib ./foo.xib
This allows me to now be able to perform layout changes with pseudo-localized content. Then, when the actual localized content comes back from my contractor, I can just update the string content and not lose any of those layout changes.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden