The way we dealt with this in EpiInfo was to use compositional symbols rather than words.
From: [email protected] [mailto:[email protected]] On Behalf Of Ben Wolfe Sent: Tuesday, March 27, 2012 11:28 AM To: [email protected] Subject: Re: [OPENMRS-DEV] Placing Y, O and NO instead of AND, OR and NOT in the composition tab of the Cohort Builder Unfortunately, it looks like this is something that is core, not in the reportingcompatibility module. It looks like it would be easy to fix, if you still want it though. In CohortSearchHistory.createCompositionFilter(String): Set<String> andWords = new HashSet<String>(); Set<String> orWords = new HashSet<String>(); Set<String> notWords = new HashSet<String>(); andWords.add("and"); andWords.add("intersection"); andWords.add("*"); orWords.add("or"); orWords.add("union"); orWords.add("+"); notWords.add("not"); notWords.add("!"); So you could use symbols instead of english words right now if you want. If you want to offer code changes, it could switch on current locale and use spanish "y" instead of "and" if locale is is a spanish based one. Ben On Mon, Mar 26, 2012 at 6:53 PM, Joaquín Blaya <[email protected]<mailto:[email protected]>> wrote: In completely translating the Cohort Builder to Spanish, one of the things we wanted to do was to change what the user had to type in the text box in the composition tab. Right now they have to type AND, OR, or NOT, and we'd like to translate that to spanish. Any idea how hard that would be and what it would entail? Also, are those the only three commands used or are there others? Thanks, Joaquín ___________________________________________________________________ Gerente de Desarrollo, eHealth Systems<http://www.ehs.cl/> Research Fellow, Escuela de Medicina de Harvard<http://hms.harvard.edu/> Moderador, GHDOnline.org<http://www.ghdonline.org/> ________________________________ Click here to unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list ________________________________ Click here to unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

