Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

add locale.t2tconf as a translatable file#83

Merged
seanbudd merged 3 commits into
masterfrom
addLocaleConf
Mar 24, 2023
Merged

add locale.t2tconf as a translatable file#83
seanbudd merged 3 commits into
masterfrom
addLocaleConf

Conversation

@seanbudd

@seanbudd seanbudd commented Jan 16, 2023

Copy link
Copy Markdown
Member

Closes nvaccess/nvda#14169
Relates to nvaccess/nvda#8856, and closes the issue with nvaccess/nvda#14546

locale.t2tconf allows translators to set the locale and layout direction of NVDA user documentation
locale.t2tconf files cannot be modified by translators, and are expected to be modified in the main NVDA repository.
This is an unexpected workflow for translators, they should be able to push changes to locale.t2tconf.

Testing

What is the best way to test this script?

@seanbudd seanbudd requested a review from michaelDCurran March 24, 2023 01:56
@seanbudd seanbudd marked this pull request as ready for review March 24, 2023 01:56
@seanbudd seanbudd merged commit f0a5809 into master Mar 24, 2023
@seanbudd seanbudd deleted the addLocaleConf branch March 24, 2023 03:00
seanbudd added a commit to nvaccess/nvda that referenced this pull request Mar 27, 2023
Supersedes #13133
Closes #8856 with nvaccess/mrconfig#83

Summary of the issue:
The generated HTML from t2t (changes, quick reference, user guide) has no lang attribute set.
So, it will not read in the correct TTS language.
Right to left languages also do not render correctly without an dir="rtl" attribute.

Description of user facing changes
When translators add values to the attributes, the correct TTS language will be used when reading NVDA documentation and the layout direction of text will be appropriate.

Description of development approach
 PR to mrconfig to support locale.t2tconf: add locale.t2tconf as a translatable file in nvaccess/mrconfig#83
 Create a base template for translators to add their own lang and dir attribute values.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

an issue regarding showing Numbers in Arabic changes and user guide files

2 participants