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(a)iam.unibe.ch