Repository: nvaccess/nvda

Issue:
Missing braille tables in the Braille NVDA Settings
### Menu path:
NVDA » Preferences » Settings... » Braille
### Actual behavior:
The entries for "de-g0-bidi.utb", "de-g1-bidi.ctb" and "uk-comp.utb" are missing in the GUI.
### Expected behavior:
Quote from [my comment in PR #10832](https://github.com/nvaccess/nvda/pull/10832#issuecomment-593723179):
> I suggest to add "(improved back-translation, experimental)" to the two new German entries.

[Update 2020-06-18 08:55 UTC+2]: See [@Futyn-Maker's comment in PR #11221](https://github.com/nvaccess/nvda/pull/11221#issuecomment-645368497). Therefore I expanded the actual behavior as well as the upcoming workaround section. [/Update]

See also [my comment in issue #10912](https://github.com/nvaccess/nvda/issues/10912#issuecomment-606308008). Recently I found a better workaround as I once described in the linked comment.
#### Workaround for NVDA 2020.2 Beta 1:
1. If you never changed the braille output table before, then select now another than the default braille output table via the Braille NVDA Settings and save the configuration.
2. Open "nvda.ini" in Notepad++.
3. Move to the line starting with "translationTable" for the braille output table.
4. Enter "de-g0-bidi.utb", "de-g1-bidi.ctb" or "uk-comp.utb" here instead of e.g. "de-de-comp8.ctb".
5. Restart NVDA without letting NVDA save the config on exit.

Notes: The corresponding combobox in the Settings GUI is empty after this change. Changing the "inputTable" line for the braille input to one of the above mentioned files throws an error and "en-ueb-g1.ctb" could be used instead (not tested).
### System configuration
#### NVDA installed/portable/running from source:
Portable
#### NVDA version:
2020.2 Beta 1

CC: @leonardder and @Andre9642


Discussion:
Can you expand on what these two files are. Also, it would be good to expand this issue to address https://github.com/nvaccess/nvda/pull/11221#issuecomment-645368497

>I understand that I've been bit late, but You've forgotten to include the new Ukrainian computer braille table. If it is possible before NVDA 2020.2 release, I'll very glad.

>The table was included in Liblouis 3.14 and called "uk-comp.utb"

Resolving patch:
diff --git a/source/brailleTables.py b/source/brailleTables.py
--- a/source/brailleTables.py
+++ b/source/brailleTables.py
@@ -139,13 +139,22 @@ def listTables():
 addTable("de-de-comp8.ctb", _("German 8 dot computer braille"))
 # Translators: The name of a braille table displayed in the
 # braille settings dialog.
-addTable("de-g0.utb", _("German grade 0"))
+addTable("de-g0.utb", _("German grade 0"), input=False)
+
+# Translators: The name of a braille table displayed in the
+# braille settings dialog.
+addTable("de-g0-bidi.utb", _("German grade 0 (detailed)"))
 # Translators: The name of a braille table displayed in the
 # braille settings dialog.
-addTable("de-g1.ctb", _("German grade 1"))
+addTable("de-g1.ctb", _("German grade 1"), input=False)
+
 # Translators: The name of a braille table displayed in the
 # braille settings dialog.
-addTable("de-g2.ctb", _("German grade 2"), contracted=True)
+addTable("de-g1-bidi.ctb", _("German grade 1 (detailed)"))
+# Translators: The name of a braille table displayed in the
+# braille settings dialog.
+addTable("de-g2.ctb", _("German grade 2"), contracted=True, input=False)
+
 # Translators: The name of a braille table displayed in the
 # braille settings dialog.
 addTable("el.ctb", _("Greek (Greece)"))


Test patch: