Hi Pascal,

You shouldn't need to specify additional rules. By default 
ERDDefaultDisplayNameAssignment handles localization and ERModern is quite good 
at logging unknown or deprecated localization keys. My localization files 
consist mostly of these types of keys:

"Entity.name.Location" = "Ort";
"PropertyKey.amount" = "Betrag";
"Pages.CreatePerson" = "Person anlegen";
"Nav.Settings" = "Einstellungen";
"TabKey.Owner" = "Eigentümer";

This covers entity names, property names, page configurations and navigation 
elements. I only subclassed the default assignment to handle entity-specific 
property names.

Fabian

Am 10.07.2014 um 13:35 schrieb Pascal Robert <[email protected]>:

> 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/lists.fabian%40e-lumo.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]

Reply via email to