+1
2015-09-15 11:08 GMT+02:00 stephan stephan@stack.nl:
On 15-09-15 10:42, Nicolas Anquetil wrote:
On 14/09/2015 15:15, Alexandre Bergel wrote:
Shouldn’t an entity be aware of the language it written in? Why the model?
by default, the language of an entity is the language of the model. Thus for single language project, you don't need to specify the sourceLanguage for each and every entity.
For projects which multiple languages, one can either elect one language as the default one (and set individually the language of all other entities) or not set any default language (and set individually the language of all entities)
Thank you, that makes sense. Then I propose to rename the instance variable to defaultLanguage with accessors (and add the explanation in a method comment)
Stephan
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev