Translation strings missing
Hi :)
HOME,RECEIVE and HISTORY are missing from template.pot
"Personal Wallet" above the balance too. And DELETE WALLET

My bitcoin address Sent Received Language (日本人) → (日本語) Wallet invitation Paste invitation here Master extended private key (this shows up somewhere else translated though) If not given, a secure key will be generated BIP32 master extended private key If not given, a random key will be generated BIP32 master extended private key Import legacy wallet Importing... EMAIL Email USERNAME Username
These are the terms I could find.
Also, 2 of 3 etc "of" requires the number order to be reversed in Japanese so I tried using / ... But it is difficult to understand.
I will return to English "of" for the time being once I get access to a computer.
Would it be possible to use variables to represent the numbers so I could switch order.
Here's the delete wallet screen too
Need that string translatable
Thanks a lot for your detailed report!
We need to create a script that extract the translatable strings from the Javascript code (currently we are only exposing HTML strings). That is why there are still many strings to add. We don't want to do it by hand since it will be too difficult to maintain. Probably in the next ~10days that will be ready.
thanks
On Sat, Apr 25, 2015 at 6:33 PM, dabura667 [email protected] wrote:
[image: screenshot_2015-04-26-06-32-35] https://cloud.githubusercontent.com/assets/6586275/7334952/0f989f26-ebde-11e4-99f5-9866910e4c46.png Here's the delete wallet screen too
Need that string translatable
— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/2631#issuecomment-96282400.
BitPay.com
I believe crowdin has a library to automate translations replacing in source files...
I think that is how Electrum does it
from i18n import _
some_text = _("Hey!")
Any text with _( ) around it is automatically replaced via automation
Maybe the Electrum team made it up themselves, but it seems like a good way to do it.
If all strings in the source were surrounded by a _( ) it might be easier to run a script that searches through each source file and looks for _( ) and replaces.
var _ = function(x){return x};
var some_result = some_function(x, y, _("Some text"))
We are using gettext for this function. Maybe we could replace gettext by _() in a the near future