The easiest way I know is to load the page with non-localized content, then dump the created keys to the console (/wa/dumpCreatedKeys). That gives you your missing keys. I haven’t used it, but there’s a ERD2WPageRunner to help you do this for all your pages. Hand it an array of page names, createPages(), then /wa/dumpCreatedKeys. Probably useful if you want to dump keys for each language supported.
On Jul 10, 2014, at 6:35 AM, Pascal Robert <[email protected]> wrote: > Hi, > > What is the proper way to do D2W localization? In the wiki, it says that you > should add rules like this: > > 100 : (pageConfiguration like '*Computer*' and propertyKey = 'model') => > displayNameForProperty = "Computer.PropertyKey.model" [ERDLocalizedAssignment] > > And having the correspondant > > "Computer.PropertyKey.model" = "Modèle"; > > in the Localizable.strings. It works, but that means I will have to add a lot > of rules. Is there a better way to do localization without the rules? This is > with ERModernLook. > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
