Skip to content

Update/add STET languages - #336

Open
linearcombination wants to merge 10 commits into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:add-bg-and-id-languages-to-stet
Open

linearcombination wants to merge 10 commits into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:add-bg-and-id-languages-to-stet

Conversation

@linearcombination

@linearcombination linearcombination commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Closes #341, closes #342, closes #346, closes #348, closes #350

@linearcombination linearcombination self-assigned this Sep 15, 2026
@linearcombination linearcombination changed the title Add bg and id languages to stet Update/add STET languages Sep 17, 2026
@linearcombination

Copy link
Copy Markdown
Contributor Author

Flipping this to draft overnight while I add a few more tests. Will mark ready for review once they're pushed!

@linearcombination
linearcombination marked this pull request as draft September 17, 2026 05:35
Ensure new languages are present in non-production environment.
@linearcombination
linearcombination marked this pull request as ready for review September 17, 2026 20:11
Comment thread backend/stet/domain/strings.py Outdated
"pt-br": ("Referência de Origem", "Referência de Destino", "Status", "OK"),
"rmn-x-yerliroman": (
"gu": (
"Препратка към изходния текст – текста на български",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bug -- Romanian text now appears under Gujurati.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! git cherry picking went south, oops.

Comment thread backend/doc/config.py
"f10",
"nav",
"reg",
"tbi",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should bpb and tbi be added to the lists in page.svelte:49 and 99?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks. I really don't like that regex code in the UI. Will improve that, it is a code smell for sure.

Comment thread backend/doc/config.py Outdated
"nav": "New Arabic Version (Ketab El Hayat)",
"reg": "Regular",
"rg": "NT Survey Reviewers' Guide",
"tbi": "Bahasa Indonesian Bible",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think tbi should have a different description than ayt -- maybe add the code to the label? (e.g. "Bahasa Indonesian bible (tbi)"?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nudge. I have updated it. The resource codes get added to the UI presentation in another part of the code already.

After more research using AI in response to code review.
Used several AIs to check each language. Needs native speaker review.
Some languages have more than one USFM resource type. Some of the
those languages have a preference for one to be its primary USFM
resource. Provide rules to make sure those preferences are respected
in the generated document when two USFM resource types are chosen for
one language.
Add tbi and bpb USFM resource types to regex. Fix bug in regex. A
better solution will come later, but for now this works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants