Re: Re: translation
Tom Eugelink <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
The discussion was if one would per-default name Entities and ValueModels the same as their concepts in the UL or always use English translations. One of my colleagues had an interesting point; it often occurs that an implementation deviates fundamentally from the domain. For example we have a concept of "Location" (where someone lives inside a care facility), but these Locations are implemented flexibly using a "Cluster" concept. There is no equivalent in de UL for Cluster, but there are a number of concepts in the UL that all project onto Cluster, like the mentioned Location or Department or a financial entity. One could also implement these Locations and Departments using LDAP, just to name a strange idea, but we're not going to rename LDAP. So there is almost always a translation from the UL to the implementation, given that, one could argue to translate to English. Another point of view could be that composition / inheritance should be employed and Location should contain / extend an LDAP concept. Tom On 2014-3-12 19:26, Nino Martincevic wrote: > > Isn't todays natural language and especially a specific domain language > full of terms from other languages? > Rarely there is one pure domain and in medicine there is english, greek > and your language, for sure. > So I do not see a problem there. > > Am 12.03.2014 18:40, schrieb Tom Eugelink: > > > > > > I leaning towards going for one concept; mixing languages within the > > same domain seems like a bad idea. So either the domain concepts are in > > language X or not. As Freek points out, technical concepts should also > > be in their domain naming, so indeed KlantRepository. > > > > Thanks everyone for contributing. > > > > Tom > > > > > > On 2014-3-12 17:08, Greg Young wrote: > >> The general rule of thumb I use is keep to English except for domain > >> specific terms that don't really translate well (reading code in mixed > >> languages is taxing). For things that are easily and directly > >> translatable do it. > >> > >> Sent from my iPhone > >> > >> On 12 Mar 2014, at 07:29, Freek Paans <[email protected] > >> <mailto:[email protected]>> wrote: > >> > >>> Imo, translation adds a lot of noise, which makes discussions with > >>> customers and co-workers a lot harder because everybody thinks in > >>> another language, which causes focus on translations instead of the > >>> concept at hand. > >>> > >>> Also, the translations tend to be done rather poorly, either because > >>> there is no good word for the concept in English, or because the dev > >>> translated it poorly. Both increase the noise problem even more. > >>> We tend to stick with dutch for domain concepts and english for > >>> technical stuff. It looks a bit silly (KlantRepository) but I > >>> think it's actually quite consistent, because the domain language of > >>> technical stuff tends to be in english (repository, controller, > >>> adapter, that sort of stuff). Translating that would introduce a > >>> similar problem. > >>> I guess it does make hiring external help harder, but usually > >>> understanding the domain is hardest, and I don't know if just > >>> translating the words in code is gonna be enough to make > >>> them understand. Even if it does, I'm not sure if that's gonna weigh > >>> up against the problems above. > >>> Just my experience.. > >>> > >>> -Freek > > > > > >