Hi, I would like to translate raspiblitz to spanish, have you thought about make a i18n module in order to make it easier to add new languages?
It would be great but I think it would take a lot of work to do this, a lot of code changes.
The strings displayed to the user are spread out in many shell scripts in a non-modular way using various "echo" and "printf" statements I think.
For the shell scripts I cannot see that we will go into a i18n direction because it would be too complicated. But in the hopefully not so far future we will start to offer SetUp thru WebBrowser and graphical LCD infoscreens that can be a good point to start on i18n. So @grunch I will add this issue to the "Future Collection" and maybe in some month the call gets back to you :) thx.
BBaker, do you want to create a new branch for this? so we can work on it
/*
El dom., 22 de sep. de 2019 a la(s) 16:05, BBaker ([email protected])
escribió:
I looked into this a bit. It might not be too bad depending on the script.
Remains to be seen - still investigating. I might try it with one or two
shell scripts as a test to see how difficult it is.First at the top of the script include:
. Gnu script internationalization: https://www.gnu.org/software/gettext/manual/html_node/index.html
. make sure gettext.sh is in the path
source gettext.sh
Then edit the script as documented GNU gettext
https://www.gnu.org/software/gettext/manual/html_node/index.html.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/752?email_source=notifications&email_token=AABXYDAWXNNTSZJCPNZISM3QK66XVA5CNFSM4IT65DLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JMZMQ#issuecomment-533908658,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABXYDCFDWBMTWK4LSNYJ3LQK66XVANCNFSM4IT65DLA
.
BBaker, do you want to create a new branch for this? so we can work on it
Francisco, I'm not sure yet. I'm debating. It's a lot of work and I have other things to work on.
I moved my post to a Gist that I may update if I look more into it - then decide if I want to try to do it:
https://gist.github.com/fluidvoice/0e0bada8e02bb9aad03969cc5cbd0ace
The thing is there is no value in just doing it partially, you have to do the whole thing and it's a very large amount of scripts and edits. We could start with first only the scripts involved with the installation but I question how useful even that would be. Non English speakers would still struggle with getting it working and understanding if/when there are errors.
Some guys posted about full nodes on the Portuguese Bitcointalk forum so I posted about Raspiblitz to see if there is any interest: https://bitcointalk.org/index.php?topic=5178378.msg52567224#msg52567224
One aim of v1.7 should be to present a first basic web interface and touchscreen improvements ... to check for i18n options there in recommended.
Using Python with Jinja2 and Babel translations kann be made https://github.com/getpelican/pelican-plugins/blob/master/i18n_subsites/localizing_using_jinja2.rst
Also check https://www.transifex.com tomake it easy for people to help on translations .. its also used by bitcoincore.
Most helpful comment
For the shell scripts I cannot see that we will go into a i18n direction because it would be too complicated. But in the hopefully not so far future we will start to offer SetUp thru WebBrowser and graphical LCD infoscreens that can be a good point to start on i18n. So @grunch I will add this issue to the "Future Collection" and maybe in some month the call gets back to you :) thx.