Bug 295901 - books/fdp-primer: document generation of .po files
Summary: books/fdp-primer: document generation of .po files
Status: In Progress
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-06 23:44 UTC by Alexey Shuvaev
Modified: 2026-06-30 04:25 UTC (History)
1 user (show)

See Also:


Attachments
books/fdp-primer: document generation of .po files (2.24 KB, patch)
2026-06-06 23:44 UTC, Alexey Shuvaev
no flags Details | Diff
[PATCH] fdp-primer: Mention that .po files are generated quarterly (2.20 KB, patch)
2026-06-30 04:23 UTC, Alexey Shuvaev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shuvaev 2026-06-06 23:44:26 UTC
Created attachment 271568 [details]
books/fdp-primer: document generation of .po files

As answered by Vladlen Popolitov in bug #295678, comment #3, *.po files are generated by Weblate every night. There is no need to edit/regenerate them manually when editing the original english version of the documentation. Document it in po-translations chapter.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-06-26 20:23:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=64b3126c0db9dcc8cf9a2f003b3a52dbb76a7fd1

commit 64b3126c0db9dcc8cf9a2f003b3a52dbb76a7fd1
Author:     Alexey Shuvaev <bugsbeastie@gmail.com>
AuthorDate: 2026-06-26 20:15:24 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2026-06-26 20:22:33 +0000

    fdp-primer: Mention that .po files are generated nightly

    There is no need to generate the .po files manually as they are
    generated every night. Describe this fact in the PO translations
    chapter.

    PR:         295901
    Event:      Halifax Hackathon 202606
    Location:   Back in my old chair

 .../content/en/books/fdp-primer/po-translations/_index.adoc          | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 2 Benedict Reuschling freebsd_committer freebsd_triage 2026-06-26 20:26:43 UTC
Thank you for the report and the attached patch. I've committed it just now. I  close the PR now.
Comment 3 Alexey Shuvaev 2026-06-30 04:23:06 UTC
Created attachment 272278 [details]
[PATCH] fdp-primer: Mention that .po files are generated  quarterly

(In reply to Benedict Reuschling from comment #2)
Thank you for commiting the (wrong :) patch!

I have updated the patch to reflect the correct information as from the bug #295678, comment #5.

Note, that my change is trying to answer a simple question of english version contributor,
who is responsible for the re-generation of an english *.po file that is located next to *.adoc file? The answer is NOT the contributor, but one of the DOCENG committers!

Concerning bug #295678, comment #6, that PO-translation section is obsolete: I disagree! It is the only section that explains how the translation works behind the scenes. It explains how Weblate is incorporated into the workflow. I cannot find a better place to put the information about *.PO files!
Comment 4 Alexey Shuvaev 2026-06-30 04:25:13 UTC
Re-opening the PR with the new patch.