Frustration with ibtool and localization
Frustration with ibtool and localization
- Subject: Frustration with ibtool and localization
- From: Ricky Sharp <email@hidden>
- Date: Sun, 22 Nov 2009 11:29:37 -0600
I have:
- Mac OS X 10.6.2
- Xcode 3.2.1 (IB 3.2.1)
- A .xib file (let's use foo.xib as its name)
I then used the following to generate a .strings file:
ibtool --generate-strings-file ./foo.strings ./foo.xib
That correctly generated the .strings file. Note that I could also use the option "--export-strings-file" which did the same thing.
I then editing the foo.strings file to change the content of one of the strings (to simulate a localization company doing some work).
What I cannot get to work at all is the following:
ibtool --import-strings-file ./foo.strings ./foo.xib
I get no error in Terminal (or in Console), and foo.xib is _not_ updated at all.
I tried the same scenario, but using the "--export-xliff" and "--import-xliff" options. Export always works. But import refuses to replace the .xib's strings with what the .strings file has.
Furthermore, I could not get the "incremental localization" process to work either. Again, no errors and documents are left unmodified.
Finally, all files are completely readable/writable. I even copied them to a fresh folder to rule out any strange permissions issues.
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).
___________________________________________________________
Ricky A. Sharp
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