From 59e7001e7944c508caf87e470d5d666df7c49bf8 Mon Sep 17 00:00:00 2001 From: wakgill <76528604+wakgill@users.noreply.github.com> Date: Mon, 4 Jan 2021 22:43:11 -0600 Subject: [PATCH] Create 45.md --- docs/forum/bitcoin-forum/45.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/forum/bitcoin-forum/45.md diff --git a/docs/forum/bitcoin-forum/45.md b/docs/forum/bitcoin-forum/45.md new file mode 100644 index 0000000..413f78b --- /dev/null +++ b/docs/forum/bitcoin-forum/45.md @@ -0,0 +1,25 @@ +--- +layout: forum +title: 'Bitcoin client and website translation' +grand_parent: Forum Posts +parent: Bitcoin Forum +nav_order: 45 +date: 2010-02-08 16:10:37 UTC +original: https://bitcointalk.org/index.php?topic=47.msg283#msg283 +--- + +# Bitcoin client and website translation +--- + +``` +Bitcoin client and website translation +February 08, 2010, 04:10:37 PM + +It's much easier to have a single binary and multiple .mo files. It's too much maintenance work to have lots of build variations. Once the software support is implemented, anyone could contribute translations. + +wxWidgets uses the gettext standard. You use the gettext tools or something like poedit to create a .po file by scanning the sourcefiles for strings and editing the translations into the .po file, then compile it into a .mo file. The program loads the .mo file at runtime and reskins all the strings. Additional languages can be added to an existing program by adding .mo files without recompiling the program. + +On Windows, the .mo files would go in a lang subdirectory in the directory where the EXE is located. + +Right now I'm working on JSON-RPC and command line support, but when I'm finished with that I hope to do this next. +```