You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the key features of Robot Framework is good accessibility.
We have many users accross the globe. Most of them (including my self) are not native english speakers.
To make Robot Framework more accessible we should support multiple languages in library documentation. This would allow a much larger audience to understans what keywords do.
Questions:
Ux: How should this be in code comments?
Tech: How should it be stored in libdoc outputs?
Ux: How should language choice be shown in libdoc.html.
RF 6 already supports localization. However, the headings in the documentation generated by libdoc are still in English. That is, libdoc is missing a --language parameter.
RF 6 started the localization efforts but there's lot of work still. Localizing Libdoc's HTML output would be a good step forward, but there's a problem that we are planning to rewrite them altogether (#4304) and as the result most of the current texts are likely to change. The work to enhance the current outputs to support localization would also be mostly wasted when they'd be replaced soonish anyway.
I believe it's best to wait until we have the new Libdoc tech (#4304) in place before we add localization support. It is, however, very important to take localization into account when deciding about the new tech and taking it into use.
Activity
mkorpela commentedon Sep 20, 2020
Questions:
Ux: How should this be in code comments?
Tech: How should it be stored in libdoc outputs?
Ux: How should language choice be shown in libdoc.html.
pekkaklarck commentedon Sep 20, 2020
Better l10n would be great but I think we should look at RF in general and not only Libdoc.
mardukbp commentedon Apr 23, 2023
RF 6 already supports localization. However, the headings in the documentation generated by libdoc are still in English. That is, libdoc is missing a --language parameter.
pekkaklarck commentedon Apr 24, 2023
RF 6 started the localization efforts but there's lot of work still. Localizing Libdoc's HTML output would be a good step forward, but there's a problem that we are planning to rewrite them altogether (#4304) and as the result most of the current texts are likely to change. The work to enhance the current outputs to support localization would also be mostly wasted when they'd be replaced soonish anyway.
I believe it's best to wait until we have the new Libdoc tech (#4304) in place before we add localization support. It is, however, very important to take localization into account when deciding about the new tech and taking it into use.
yanne commentedon Dec 31, 2024
This is now done.
yanne commentedon Jan 14, 2025
Portuguese translations provided by @HelioGuilherme66 , French by @hassineabd, and Dutch by @leeuwe and @JFoederer.
Thanks for your contributions!