Custom Translations

Dear All,
So I am implementing DHIS2 instance in French and we have some of the modules and features that do not have the translations yet. Is it possible to write my own translations and have them mapped to a given instance?

cc @jomutsani

2 Likes

Hi @KMurumba,

Tagging @phil who can advise and shed more light on DHIS2 translations.

Best,
James.

1 Like

Hi @KMurumba,

I’m working on the translation tools and processes together with @phil and @jason.

We are using a translation platform called Transifex. I encourage you to create accounts for you and your team and contribute there. Here is the url: HISP UiO localization | Transifex.

If an app is not yet on this platform, please let us know.

Cheers,
Matthieu

1 Like

Hello @Matthieu,
So we need to ā€˜request language’ for each app/module? And for which version will these translation be applied to? (Short question, long answer: How does that work? :smile: )

For example, as far as I understand that we had an Indonesian option for Data Visualizer app for ver 2.28-ish but can’t find the language here: APP: Data Visualizer localization | Transifex

Thanks for the info btw.

Cheers,
Tita

2 Likes

@KMurumba If you are thinking about ā€œcustom translationsā€ in the sense of type of language pack that you could apply to an existing instance, that is not something we support. (It is possible for you to rebuild your exact version with additional custom translations, but that would be a very complex process where you would have to fork the core plus all app repositories!)

Instead, we encourage users to contribute their translations to the community translation platform, and aim to get those in to later releases of supported versions of DHIS2.

We are just in the process of transitioning to the platform Matthieu linked above. We have only about a third of our apps there at the moment (I am on leave at the moment, but hope to get the rest in by early August).

By default translators contribute to the ā€œmasterā€ version, which basically means the next release, currently being developed (e.g. v2.33 at the moment). We then port those translations to earlier supported version; the transifex platform greatly facilitates this process.

We will publish more detail about the process, including how to target specific versions, apps and languages, once we have the platform and workflow completely set up for all apps.

Kind regards,
Phil

1 Like

Hi @aprisa,

If a language is not already available, then yes, you can request it. We are just moving to the new platform, so there may be some gaps with respect to the previous platform (the good news is that previous efforts are not wasted, and if there are existing translations somewhere we can get them into the platform fairly easily!).

In terms of ā€œfor which version?ā€ the short answer is, ā€œat least all currently supported versions!ā€ (last three releases). It may also be feasible for us to push translations to several additional previous releases too. Translators will focus mainly on the master version, which is in most cases a superset of translated strings compared with earlier versions; where that is not the case we can target specific versions to fill in the gaps (or rather, we will be able to once the workflow is set up).

Kind regards,
Phil

2 Likes

Hi @phil,

Crisp and clear. Thank you!
Requested to join the team there in Transifex :slight_smile: No rush though.

Cheers,
Tita

1 Like

Great questions @aprisa.

This gives me the opportunity to give more details on the process we are putting in place.

To start with, we are focusing our effort on the master version of dhis2, meaning the one currently being developed. As of now the 2.33. These translations, once reviewed, will then be ported to earlier versions.

If your target language is not yet listed for a given app you can request it. This request applies for this given app, so you will want to repeat your request for each app you want to contribute to. I can see that you actually did so for the Data Visualizer app ;). I approved it. That’s the right way!

If an app is not yet listed, please send us a request in this very same space: Translation - Traduction - DHIS2 Community

We are still working on this new translation process, and we will be able to share a more comprehensive process & workflow soon.

Hoping this is helping.

Cheers,
Matthieu

2 Likes

Super! Got the notification, merci @Matthieu.
Let me try with this one first. Will keep in touch if I have more questions (which is very likely) :smile:

Cheers,
Tita

1 Like