Steve & Tobin-

There is no build-in way to localize a form beyond the translations tag.  I 
don't know if anyone has come up with any creative solutions.  If you have an 
idea of how you'd like it to work, go ahead and enter a ticket as a feature 
request...

I believe here at PIH when we've needed to have a form in multiple languages, 
we've either created multiple versions of the form, or included both languages 
side-by-side on the form.

To Tobin's question, you are able to change your locale using the links in the 
OpenMRS footer.  This should change the language within the form... if it 
doesn't, this is bug.

Mark




From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]> On 
Behalf Of Tobin Greensweig
Sent: Monday, April 16, 2012 12:47 AM
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [OPENMRS-IMPLEMENTERS] HTMLForms and localization

As a related follow-up question, is it possible for a user to change the 
language a form is displayed within the form or only based on their users' 
default locale?

Thanks,

Tobin
On Mon, Apr 16, 2012 at 6:06 AM, Stephen Retchford 
<[email protected]<mailto:[email protected]>> wrote:
I have an HTMLForm with many labels and text elements that must support both 
Spanish and English.  I realize that I can use the translations tag at the top 
of my form, but this really clutters up the html due to the number of labels.  
Is it possible to store the labels in separate properties files for each 
language, and reference them in the HTMLForm?  I also need a more flexible way 
to retrieve the labels (other than using obs labelcode), because the labels are 
not always tied to an observation.  Any suggestions would be appreciated.

Thanks,
Steve
________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
 from OpenMRS Implementers' mailing list



--
Tobin
________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
 from OpenMRS Implementers' mailing list

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to