Hi,

Currently there is no localization framework being used anywhere in
Prometheus, and the only language available is English (which is hardcoded
everywhere).

It's a possibility in the future, but we need to answer the following
questions for it:

* Are we ok with the extra maintenance burden? IMO at least it would have
to be done in a way that a "normal" change only needs to touch the English
texts, and then any translated versions are optional (e.g. display English
by default, if no up-to-date translation is available) and can be done by
other contributors afterwards. Otherwise it would block too much change.
Still, it would slow development as now there's always an indirection
between a text and the place where it's used. Might be worth it though, but
I wouldn't want to decide that by myself.
* Which framework would we use for that (e.g.
https://github.com/i18next/react-i18next)?
* Do we only translate the web UI, or also anything else that's
user-visible in the binary?
* Who contributes translations, and how do we verify that they are ok
enough if we don't speak those languages ourselves?

Regards,
Julius

On Tue, Jan 5, 2021 at 11:20 AM Christian Manalo <[email protected]>
wrote:

> Hi,
>
> Is it possible to localize the texts displayed on the GUI?
> Any ideas on how to do it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/0c5ae83e-a414-4de4-ac6b-5fb6ba60ce3fn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/0c5ae83e-a414-4de4-ac6b-5fb6ba60ce3fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAObpH5xZ-t%2BwfMt621Ey5P3%2BCUKPVXdUzJa_nZf-aYKjon77%3DA%40mail.gmail.com.

Reply via email to