nvda icon indicating copy to clipboard operation
nvda copied to clipboard

Help localization of NVDA in new languages by adding the missing translators comments

Open JulienCochuyt opened this issue 5 years ago • 6 comments

NVDA is localized (translated in 70 languages) using GNU gettext.

From NVDA wiki Contributing / Translatable Strings:

All translatable strings should have a preceding translators comment describing the purpose of the string for translators. For example:

# Translators: The name of a category of NVDA commands.
SCRCAT_TEXTREVIEW = _("Text review")

For new contributions, this obligation is ensured by the checkPot test. Still, there are dozens of translatable strings that lack such a comment in code contributed before the creation of this test.

A complete list of these can be found near the top of tests/checkPot.py.

All these strings are already translated in the current 70 languages in which NVDA is available, but the lack for translators comment makes it uselessly harder to add a new language to the list.

As stated by @feerrenrut in https://github.com/nvaccess/nvda/pull/11093#discussion_r419287528, It would be greatly appreciated if some good willing volunteer took the charge to add all or part of these missing translators comment.

JulienCochuyt avatar May 04 '20 09:05 JulienCochuyt

Hi, note that some of them will involve creating multiple translator comments for the same string (I expect pgettext might mitigate it somewhat as it can provide contextual comments). For past precedence, see #1410 (nvdakor is me). Thanks.

josephsl avatar May 04 '20 19:05 josephsl

Is this still relevant for translators? cc: @michaelDCurran, @CyrilleB79

Adriani90 avatar May 22 '25 23:05 Adriani90

Yes there are still many missing translator comments

seanbudd avatar May 22 '25 23:05 seanbudd

Yes, translators still use these comments.

CyrilleB79 avatar May 23 '25 07:05 CyrilleB79

Hi! I’d like to work on this issue. I will add translator comments for several of the missing strings listed in tests/checkPot.py. I’ll submit a PR with a small batch first so maintainers can confirm the format.

rrajput22 avatar Dec 02 '25 03:12 rrajput22

Thank you @rrajput22

seanbudd avatar Dec 02 '25 04:12 seanbudd