Hi Mario,
Currently metadata like EncounterType only supports a single language. There
is a ticket for supporting multiple languages, which was almost completed a
long time ago, but hasn't been finished off yet:
https://tickets.openmrs.org/browse/TRUNK-51
As a workaround, if you are creating your own JSP pages you could add
localizations to your messages.properties file, and do something like this
in your jsp:
<spring:message code="vitalbox.encounterType.${ encounter.encounterType.id}"/>
Hola Mario,
En este momento los metadata como EncounterType solo pueden tener nombre en
un idioma. Hay un ticket por permitir varias idiomas, y esta casi completa
hace mucho tiempo, pero no se lo ha termindao:
https://tickets.openmrs.org/browse/TRUNK-51
Una posible solucion, si estas creando tus proprios JSPs, puedes agregar
nombres localizadas en tu messages.properties, y hacer asi en tu jsp:
<spring:message code="vitalbox.encounterType.${ encounter.encounterType.id}"/>
-Darius
2011/8/12 Mario Giraldo Londoño <[email protected]>
> Buen día, necesito que cuando se carguen los tipos de encuentro y los tipo
> de programas se carguen dependiendo del lenguaje. Cuando se
> guardan están en un solo idioma y no se especifica otro idioma, como puedo
> solucionar esto.
>
> Good day, I need you when loading the types of encounter and the types of
> programs are loaded depending on the language. When you save are in one
> language and another language is not specified, how I can fix this.
>
> --
> Mario Alberto Giraldo
> Cel: (+ 57) 316 829 99 69
> Tel: (+ 57 4) 460 07 27 Ext. 5557
> VitalBox.co | MyVitalbox.co
>
> ------------------------------
> Click here to
> unsubscribe<[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]