Merging Dictionaries
Merging Dictionaries
- Subject: Merging Dictionaries
- From: Tommy Nordgren <email@hidden>
- Date: Wed, 11 May 2005 03:06:07 +0200
There is a command line tool called nibtool that can be used to
localize Nib Files.
Localisation is done as follows.
1. nibtool is run with the English nib as input, generating a
dictionary file.
2. The dictionary file consists of key, value pairs, where the values
are double-quoted strings,
and the keys are either double-quoted strings or object ID:S.
3. The generated dictionary file is used to write a localized version,
with the same keys.
4. nibtool is used again, with the English nibfile, and the localized
dictionary as input,
generating a localized nib file.
Now the tricky part, for which I want any useful tips.
When the English nibfile has been edited, step 1 must be run again.
However, since we have an old localized dictionary, it is necessary to
merge the localized dictionary, with the new english dictionary, in
such a way that any already translated value is
retained
Are there any invocation of nibtool that can do this?
Otherwise, do anyone have a perl or python script for this purpose to
share?
Thankful for any help.
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden