translation process after autotools - needs update #2992

issue Diapolo opened this issue on September 13, 2013
  1. Diapolo commented at 3:09 PM on September 13, 2013: none

    See: https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md

    We generated the bitcoin_en.ts via:

    <pre> python share/qt/extract_strings_qt.py lupdate bitcoin-qt.pro -no-obsolete -locations relative -ts src/qt/locale/bitcoin_en.ts </pre>

    AFAIK this no longer works, as we don't have any working .pro file. We need a working translations process and as I'm no Python script guy, nor have any autotools knowledge, someone needs to look into this :). @laanwj @theuni Can you please take a look?

  2. theuni commented at 5:51 PM on September 13, 2013: member

    will have a look.

  3. laanwj commented at 11:38 AM on September 14, 2013: member

    That's going to be interesting, I wonder if lupdate has other ways of locating the source files.

  4. sipa commented at 11:41 AM on September 14, 2013: member

    You can just pass a list of source files, apparently.

    On Sat, Sep 14, 2013 at 1:38 PM, Wladimir J. van der Laan < notifications@github.com> wrote:

    That's going to be interesting, I wonder if lupdate has other ways of locating the source files.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/2992#issuecomment-24443504 .

  5. laanwj commented at 11:57 AM on September 14, 2013: member

    So what we need is a "make translation" or something that runs the above commands, and automatically provides all the source files (including .ui forms IIRC) to it. Can this be done using autoconf/automake or do we need an additional script?

  6. Diapolo commented at 4:03 PM on September 14, 2013: none

    As I didn't yet switch to autotools, I can create a current translations update and will maintain the .pro file localy until Qt5 support is included and it's mature enough for me to switch to autotools.

  7. theuni commented at 4:04 PM on September 14, 2013: member

    I have this changed locally (almost word-for-word what @laanwj said, coincidentally). Will push it up in a few min.

  8. theuni commented at 4:15 PM on September 14, 2013: member

    See #2996

  9. Diapolo commented at 6:21 AM on September 18, 2013: none

    So can anyone with autotools generate a current english master file and create a pull for it :)? I would love to see it's working.

  10. Diapolo closed this on Sep 18, 2013

  11. Bushstar referenced this in commit 1a88a3c7d9 on Apr 8, 2020
  12. MarcoFalke locked this on Sep 8, 2021

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-04-18 18:15 UTC

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