← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS2 Interface translate

 

Yes, Jason, thank you

On Tue, Apr 7, 2015 at 3:24 PM, Jason Pickering <jason.p.pickering@xxxxxxxxx
> wrote:

> Hi Channara,
>
> Those elements are part of the source code of DHIS2, contained in Java
> property files, and yes, can be translated with the i18n tool or a normal
> text editor.
>
> Again, to illustrate with an example from the documents.
>
> As an example, consider the following key/value pairs.
>
> org_unit_tree=Organisation Unit Tree
> error_occurred=An error has occurred.
>
> In French the same key/value pairs would appear as follows
>
> org_unit_tree=Arborescence des unités d'organisation
> error_occurred=Une erreur s'est produit
>
>
> So, in this example, we see a translation between English and French.
> Regardless of which method you use, you will need to modify the Java
> property files which contain the string you wish to translate, and then
> recompile DHIS 2 to see your translations. You can do this locally, or if
> you want, through the translation server which  the global development team
> maintains.
>
> Hope this helps and let us know if you have more questions.
>
> Regards,
> Jason
>
>
> On Tue, Apr 7, 2015 at 9:54 AM, channara rin <rin.channara@xxxxxxxxx>
> wrote:
>
>> THank you Jason,
>> By the way, option 1 can translate in the "red arrow" in attached file
>>
>>
>> On Tue, Apr 7, 2015 at 11:55 AM, Jason Pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> Hi Channara,
>>> There are a couple of different ways, which have been described
>>> previously on the list. Let me summarize briefly.
>>>
>>> Please read this chapter of the implementers manual
>>> https://www.dhis2.org/doc/snapshot/en/implementer/html/ch19.html
>>>
>>> There are basically two ways.
>>> 1) You can get a copy of the source code, finish the translation, and
>>> submit a patch back to the global DHIS 2 development team. You can use the
>>> i18n tool for this, or any UTF-8 compliant text editor.
>>> 2) The global development team can help you to get your translations
>>> incorporated into the source code, if you choose to use the translations
>>> server here (http://translate.dhis2.org/) You and your team members can
>>> register for an account there, do the translation, and then inform the
>>> developers once you are finished. We will then incorporate your changes
>>> into the source code once they have been reviewed.
>>>
>>> Hope this helps.
>>>
>>> Best regards,
>>> Jason
>>>
>>>
>>> On Tue, Apr 7, 2015 at 5:59 AM, channara rin <rin.channara@xxxxxxxxx>
>>> wrote:
>>>
>>>> HI all DHIS2,
>>>> Could you tell me how can i translate my own language on DHIS2
>>>> interface?
>>>>
>>>> Thank you
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.pickering@xxxxxxxxx
>>> tel:+46764147049
>>>
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>

References