[Caminol10n] Camino 1.6a1/Appleglot on Intel/Leopard rundown

Marcello Testi m.testi at gmail.com
Wed Jan 2 07:21:45 PST 2008


Here's what I found out yesterday, diving into Camino 1.6a1.

First, I installed both XCode 3 (from Leopard install DVD set) and  
XCode 2.5 (download from Apple's Developer site).
As you might know, nibtool CLI utility has disappeared from XCode 3,  
but you can have it back with XCode 2.5. I just created a symlink in / 
usr/bin (nibtool resides in /XCode 2.5/usr/bin) in order to have  
nibtool at hand for AppleGlot.

Then, I ran AppleGlot, putting:
- Camino 1.5.4 EN into _OldBase
- Camino 1.5.4 ML into _OldLoc
- Camino 1.6a1 EN into _NewBase

Initial Pass, then I edited the .wg file, which contained about 10-15  
strings, then Incremental Pass and Final Pass. I always got nibtool  
errors from AppleGlot, but from the result achieved, I think that it  
fails just for a limited set of .nib files.

Then I started inspecting the whole package (the localized part).

I'm now giving a short summary of what to watch when working on Camino  
1.6. If you want a quick checklist, scroll to the end of the message  
or just look at our site where I'll post the same summary.

- In the Frameworks section, there is the new Sparkle framework, used  
for software update. AppleGlot happily ignores it, but it's not a  
problem for us, since the framework is already localized. We just have  
to find an efficient way of getting existing l10ns into our workflow.
- I found Talkback broken (not fully localized), but I checked and  
found the same problem in 1.5.4ML, and I guess it's another symptom of  
the problem with the original Localizable.strings file being wrongly  
encoded. Recovering an old version of the file wasn't a big deal.
- The 3 Plug-ins presented some problems: Default Plugin wasn't  
localized at all, the other two picked up the old l10n but failed to  
show up in AppleGlot's .wg to update the version numbers.
- PrintPDE plugin (the print dialog, that is) is OK.
- Preference panes gave mixed results: the ones to look after are  
Navigation (General), Web Features. Navigation picked up the old l10n  
but failed to get the new strings related to sw update; it also lost  
some layout tweaks related to strings length, which are easy and quick  
to restore. WebFeatures only needs to re-apply tweaks to the layout
- Now on to the main Resources folder, where the only culprits were  
MainMenu and Localizable.strings. In MainMenu the whole "View" menu  
l10n had disappeared, although I didn't see any significant change  
from previous version, anyway I restored it quickly, including the  
encoding sub-menu. Localizable.strings had everything in its place  
(there have been few additions and several strings been stripped out),  
except that .wg file didn't catch a couple of entries about "Script",  
so I found them in the localized file, but the localized strings were  
empty.



/* SUMMARY */
Starting with a possibly complete l10n of 1.5.4, here's a quick  
checklist of things to look after inside the package, after you ran an  
AppleGlot complete routine.
- Check wether the Localizable.strings file inside the Talkback  
package is OK, otherwise pick one from previous versions (1 file)
- Check the .strings files inside MacOS/plugins packages and fix  
version mismatches (3 files)
- Check all the .nib files for the preference panes, looking for  
layout tweaks and a string to translate in the Navigation/General  
prefpane (8 files)
- Check the MainMenu.nib file and see if the View menu is localized (1  
file)
- Check the main Localizable.strings file and look for empty  
translated strings - there should be only 2 about "Script" (1 file)
All in all, it's just 14 files to check and fix in very limited parts.  
Of course, we're eagerly waiting on the AppleGlot update that should  
fix all this.

FINAL NOTE FOR THOSE STARTING A L10N FROM SCRATCH
*** It's strongly suggested to use a PPC/10.4 box. Period. ***

Thanks for listening ;)
Waiting for comments and other experiences.
Ciao.
Marcello.



More information about the Caminol10n mailing list