Skip to content

Add Vietnamese translation.#772

Merged
kattni merged 3 commits into
beeware:mainfrom
freakboy3742:vi-translate
Jun 23, 2026
Merged

Add Vietnamese translation.#772
kattni merged 3 commits into
beeware:mainfrom
freakboy3742:vi-translate

Conversation

@freakboy3742

Copy link
Copy Markdown
Member

A request for a Vietnamese translation has come via Weblate; this adds the configuration for that translation.

It also corrects a translation error introduced in the Spanish translation.

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

@freakboy3742

Copy link
Copy Markdown
Member Author

This is building, but there's evidently something wrong with the styles on the homepage - across all languages.

I'm also uncertain if we want to land this without a better option for Cutive that has the diacritics needed for Vietnamese...

@freakboy3742 freakboy3742 requested a review from kattni April 28, 2026 02:28

@johnzhou721 johnzhou721 left a comment

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 I got to the bottom of the rendering issues you mentioned. In the PO entries flagged below, the machine translator accidentally translated the YAML keys, which broke layout.

For Vietnamese, the suggested changes below should fix the rendering. If other translations have similar issues, a manual inspection can be done for the .po files; The --- tag can be searched for to find these mistranslations.

Thanks for looking into this. I understand if another solution is desired and will back off and/or investigate appropriately accordingly.


EDIT: I did not come across the fact that this was already fixed as #796, and thus, the core team is already aware of the issue impacting the rendering. I apologize for the noise.

Comment on lines +460 to +473
#: docs/en/about/index.md:1
#, fuzzy
msgid ""
"---\n"
"hide:\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"ẩn:\n"
" - bút\n"
"---\n"
"\n"

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.

The auto-translate seems to be translating away the YAML here.

Suggested change
#: docs/en/about/index.md:1
#, fuzzy
msgid ""
"---\n"
"hide:\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"ẩn:\n"
" - bút\n"
"---\n"
"\n"
#: docs/en/about/index.md:1
msgid ""
"---\n"
"hide:\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"hide:\n"
" - toc\n"
"---\n"
"\n"

Comment on lines +1759 to +1770
#: docs/en/docs/index.md:1
#, fuzzy
msgid ""
"---\n"
"title: BeeWare docs\n"
"---\n"
"\n"
msgstr ""
"---\n"
"tiêu đề: Tài liệu BeeWare\n"
"---\n"
"\n"

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.

Suggested change
#: docs/en/docs/index.md:1
#, fuzzy
msgid ""
"---\n"
"title: BeeWare docs\n"
"---\n"
"\n"
msgstr ""
"---\n"
"tiêu đề: Tài liệu BeeWare\n"
"---\n"
"\n"
#: docs/en/docs/index.md:1
#, fuzzy
msgid ""
"---\n"
"title: BeeWare docs\n"
"---\n"
"\n"
msgstr ""
"---\n"
"title: Tài liệu BeeWare\n"
"---\n"
"\n"

Comment on lines +1976 to +1991
#: docs/en/index.md:1
#, fuzzy
msgid ""
"---\n"
"hide:\n"
" - navigation\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"Ẩn:\n"
" - thanh điều hướng\n"
" - mục lục\n"
"---\n"
"\n"

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.

Suggested change
#: docs/en/index.md:1
#, fuzzy
msgid ""
"---\n"
"hide:\n"
" - navigation\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"Ẩn:\n"
" - thanh điều hướng\n"
" - mục lục\n"
"---\n"
"\n"
#: docs/en/index.md:1
msgid ""
"---\n"
"hide:\n"
" - navigation\n"
" - toc\n"
"---\n"
"\n"
msgstr ""
"---\n"
"hide:\n"
" - navigation\n"
" - toc\n"
"---\n"
"\n"

@freakboy3742

Copy link
Copy Markdown
Member Author

I think I got to the bottom of the rendering issues you mentioned. In the PO entries flagged below, the machine translator accidentally translated the YAML keys, which broke layout.

Thanks for closing the loop on this. As you've noticed, the YAML translation rendering problem was reported independently as #795, and resolved in #796 - but I didn't make the connection that this was why the Vietnamese translation wasn't working.

@kattni This should now be ready for a review.

@kattni kattni merged commit 0b89cbb into beeware:main Jun 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants