doc: Update translation generation instructions #31930

pull pablomartin4btc wants to merge 1 commits into bitcoin:master from pablomartin4btc:doc-translation-generation-followup-31731 changing 1 files +1 −1
  1. pablomartin4btc commented at 6:53 PM on February 21, 2025: member

    This is a follow-up of #31731.

    Technically this change fixes the preset configuration execution failure as it needs multiprocess to be enabled, so we disable it using -DWITH_MULTIPROCESS=OFF.

    This code will need to be updated by removing -DWITH_MULTIPROCESS=OFF in #31741.

  2. DrahtBot commented at 6:53 PM on February 21, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31930.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK ryanofsky

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  3. DrahtBot added the label Docs on Feb 21, 2025
  4. fanquake requested review from hebasto on Feb 25, 2025
  5. ryanofsky commented at 1:45 PM on February 26, 2025: contributor

    Reviewing ba3bb09a12d77b467aec8833e316ee4b5e45ee75

    IMO, it would be simpler and more consistent to just update instructions like:

    -cmake --preset dev-mode -DWITH_USDT=OFF
    +cmake --preset dev-mode -DWITH_USDT=OFF -DWITH_MULTIPROCESS=OFF
    

    It is true that files in src/ipc/ may contained translated _() strings in the future, but I don't think they do right now. In the longer term, the suggestion to use depends should not be needed, because #31741 should allow easily building src/ipc/ code without depends. #31741 also removes the WITH_MULTIPROCESS option and replaces it with an ENABLE_IPC option, and #31802 replaces depends MULTIPROCESS option with a NO_MULTIPROCESS options, so these instructions will need to be updated in the future anyway, and I think it would be best to keep them simple and not involve the depends system if not needed.

  6. pablomartin4btc force-pushed on Feb 26, 2025
  7. pablomartin4btc commented at 5:22 PM on February 26, 2025: member

    Updates:

    • Addressed @ryanofsky's feedback and updated the code with his suggestion (Thanks for the review!).
  8. doc: Update translation generation instructions
    This is a follow-up of #31731.
    
    Technically this change fixes the preset configuration
    execution failure as it needs multiprocess to be enabled,
    so we disable it using -DWITH_MULTIPROCESS=OFF.
    
    This code will need to be updated in PRs #31741 and #31802.
    75d5d235a6
  9. pablomartin4btc force-pushed on Feb 26, 2025
  10. ryanofsky commented at 7:22 PM on February 26, 2025: contributor

    Code review ACK 75d5d235a6b5eb6b960be0c5e6e181460a1ac5e6. Looks good as a temporary fix and I think after #31741 we should be able to drop the extra argument.

  11. ryanofsky approved
  12. pablomartin4btc commented at 10:12 PM on February 26, 2025: member

    I think after #31741 we should be able to drop the extra argument.

    I thought we'd need to replace it by -DENABLE_IPC=OFF (as it will be ON in CMakePresets.json) and I was getting errors of missing config files (CapnProtoConfig.cmake & capnproto-config.cmake) when I run the instructions in #31741, but the problem was that I needed to install the Cap'n Proto for multiprocess (as in the documentation), so your statement is correct, I'm updating this PR's description accordingly. Thanks!

  13. fanquake merged this on Feb 27, 2025
  14. fanquake closed this on Feb 27, 2025

  15. sedited referenced this in commit 2cab7a09ea on Mar 16, 2025
  16. stickies-v referenced this in commit d760fd3dda on Mar 17, 2025
  17. stickies-v referenced this in commit cc83553352 on Mar 17, 2025
  18. stickies-v referenced this in commit 2614933f06 on Mar 17, 2025
  19. stickies-v referenced this in commit b70418c5fc on Mar 17, 2025
  20. stickies-v referenced this in commit 69f8a1fe50 on Mar 17, 2025
  21. bug-castercv502 referenced this in commit a6aeab1eeb on Sep 28, 2025
  22. ivanlele referenced this in commit d270f9e2c3 on Apr 16, 2026
  23. Kino1994 referenced this in commit 394396cf0c on Jun 28, 2026
  24. BigcoinBGC referenced this in commit bbd7083ca7 on Jun 30, 2026
  25. bitcoin locked this on Jul 30, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-08-05 08:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me