In bitcoin-qt, the command line help message should get translated. But after #13190, help message in bitcoin-qt does not get translated to local language.
Help message does not get translated after #13190 #13287
issue ken2812221 openend this issue on May 20, 2018-
ken2812221 commented at 12:50 pm on May 20, 2018: contributor
-
ken2812221 referenced this in commit 69e7c7960f on May 20, 2018
-
ken2812221 commented at 4:08 pm on May 20, 2018: contributorThere is a problem we need to solve, get -lang option before we translate strings
-
achow101 commented at 8:21 pm on May 20, 2018: member
This will not be a problem once the translations are updated. After #13190, the context (as in the object that owns the translation) for the translations changed so Qt thinks that the translations are new translations. This will be fixed once the strings are re-translated for the new context which occurs after the translations update.
There is a problem we need to solve, get -lang option before we translate strings
There already is one. Strings are only translated for
-qt
which has a-lang
option. -
ken2812221 commented at 0:28 am on May 21, 2018: contributorNo, they are not new strings. See
src/qt/bitcoin.cpp
you initialize the gArgs in step 1, but Qt read the translation resources in step 4. -
achow101 commented at 2:21 am on May 21, 2018: member
you initialize the gArgs in step 1, but Qt read the translation resources in step 4.
Still the translations will not be there because the context has changed. That requires a translation string update to fix.
You should not just move the arguments setup to after the translator is setup because setting up the translator requires reading a command line argument. Something different needs to be done.
-
jonasschnelli added the label GUI on May 21, 2018
-
ken2812221 closed this on Jun 4, 2018
-
DrahtBot locked this on Sep 8, 2021
Labels
GUI
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: 2024-11-17 15:12 UTC
More mirrored repositories can be found on mirror.b10c.me