polkascan / polkascan-explorer-gui

Polkascan Explorer GUI
GNU General Public License v3.0
4 stars 38 forks source link

Polkascan internationalization: Spanish translation #5

Closed emielsebastiaan closed 4 years ago

emielsebastiaan commented 4 years ago

Polkascan internationalization: Spanish translation

About Polkascan OS (for Polkadot Runtime Environments)

Polkascan OS provides an open-source block explorer for any Substrate-based blockchain. Polkascan OS consists of a number of distinct software artifacts which collectively orchestrate Polkascan. The Harvester transforms a Substrate node’s raw data into relational data, with the help of Substrate Interface Library and the SCALE Codec Library. The produced relational data is disseminated by the Explorer API and in turn made accessible to end-users by the Explorer GUI. We have chosen to provide full Docker support for all our artifacts, hence all our repositories have Dockerfiles in their root. All these open-source software artifacts and many others can be found in the Polkascan organization on GitHub (https://github.com/polkascan).

Internationalization of Polkascan OS Explorer GUI

The Polkascan OS Explorer GUI (https://github.com/polkascan/polkascan-pre-explorer-gui) is an Angular application. Previous work has implemented internationalization & localization standards for the Angular application. Currently the application supports the English and Chinese languages.

Additional translations of Polkascan OS Explorer GUI

This issue specifies a request to extend the Angular application with additional languages. This in turn will make Polkascan OS available and user-friendly to a worldwide audience in multiple languages and with multiple localization settings.

afbeelding

Deliverables

Skills

Requirements for work to be approved

Getting started with Docker

git clone https://github.com/polkascan/polkascan-explorer-gui.git
cd polkascan-explorer-gui
git checkout feature/i18n
docker build -t polkascan-explorer-gui:latest .
docker run --rm -p 8000:80 --mount type=bind,source="$(pwd)"/src/assets/i18n,target=/usr/share/nginx/html/assets/i18n polkascan-explorer-gui:latest

Run in a browser (e.g. Firefox): http://127.0.0.1:8000

Cleanup Docker

use with caution

# remove unused docker images
docker system prune
# stop & remove all docker containers
docker system prune -a
# remove docker volumes
docker volume prune
gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 150.0 DAI (150.0 USD @ $1.0/DAI) attached to it.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 266 years, 5 months from now. Please review their action plans below:

1) pablocgl has applied to start work _(Funders only: approve worker | reject worker)_.

I am a native spanish speaker. I am not a Polkadot Ambassador, but I´m familiar with the involved technolgies. I´d be glad to do the translation! 2) federicosan has been approved to start work.

I am already reading Polkadot documentation for some of the tool and visualization bounties so translating polkascan documentation is something I can do for you as you are on the same ecosystem it would be interesting.

I have already made many translations in the past. 3) oscarquintana has applied to start work _(Funders only: approve worker | reject worker)_.

I am native Spanish and fluent in English. I have done similar job and I am ready for the job 4) guettomusick has applied to start work _(Funders only: approve worker | reject worker)_.

I am a native Spanish, have experience with Angular, and interested in polkadot. I would love to participate in this project in any way.

Learn more on the Gitcoin Issue Details page.

Web3Foundation commented 4 years ago

@emielvanderhoek Any preferred worker?

emielsebastiaan commented 4 years ago

@Web3Foundation

I’d go for @federicosan because of the awareness of other ecosystem stuff.

Apologies @pablocgl. I have to make a choice unfortunately.

federicosan commented 4 years ago

@emailvanderhoek Hi, I did not receive the notification on this bounty. Could you please mark me as approved for work? thank you.

emielsebastiaan commented 4 years ago

I am awaiting response from Web3 Foundation @federicosan

emielsebastiaan commented 4 years ago

@Web3Foundation can we start with this task? Check my comments above. thx

Web3Foundation commented 4 years ago

@federicosan you've been approved to start work.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@federicosan due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Web3Foundation commented 4 years ago

@federicosan are you still working on this? Please submit a WIP PR if so, otherwise, we'll need to move to a new candidate.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@federicosan due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

Sorry for the lack of updates. I have been working on other projects and forgot to update here, I did not abandon this, I just set it as a lower priority based on expiration.

I have some updates. I already forked the repository installed docker image on my Linux VM and started the translation, I have been using some reference for the translation, as it is technical I needed to know how are terms being translated in other projects.

I will set up a counter on the total of entries / translated entries from .json file and will update on this number if this is a good strategy on updates for you. For some translations, I am doing some research in order to translate them correctly, these will take more time.

Note: gitcoin bot emails were being tagged as FORUM on my Gmail account and I was testing new tabs and did not realize there were so many notifications on this. Sorry for the delay. I deactivated this Gmail feature, I don't think I will have this problem again.

federicosan commented 4 years ago

Question: Have the English keys been written by a native English speaker? Because I am seeing a lot of English keys that don't seem to be good English, at least the ones on the es.json file.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

I am still working on this issue. Will have more updates soon.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

Still working on this. Please update if there is some kind of deadline for this, or what are your expectations so I know what priority to set this on, I am translating on a daily basis, but there are a lot of entries on this file.

federicosan commented 4 years ago

Still working on this, I will update soon with some count on the words.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

Still working on this

emielsebastiaan commented 4 years ago

@Web3Foundation I am going to recommend to give this bounty to another contributor.

Web3Foundation commented 4 years ago

@federicosan; let us know your progress so far, submitting a WIP PR would help stay on the contribution loop here. We have lots of other contributors in Espanol if you need some help with progressing, glad to recommend someone to help finalize if so.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

I am still working on this

federicosan commented 4 years ago

This work will be finished by August 1st please tell me if this works for you.

gitcoinbot commented 4 years ago

@federicosan Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

federicosan commented 4 years ago

This work will be finished by August 1st please tell me if this works for you. Please reply

Web3Foundation commented 4 years ago

That is OK for us and probably for @emielvanderhoek as well, since 1. Aug is tomorrow. Looking forward to your work submission.

federicosan commented 4 years ago

I have just finished translating the keys for the es.json dictionary I want to state that this job needs to be reviewed by me again with more detail. The reason is the following, I am a professional copywriter with experience in copywriting I really value my work, and I worked for world-known brands in the past. While doing this task, I had to keep reading the Polkadot wiki, there the Spanish translation is at 1% complete, so I had to do a double job here. I tried to do a good job, but even the English keys are very inconsistent. There are many places were something is spelled with capital letters then with small caps, then there are many places where I was not sure if I was translating a token or a word. I am testing this now on my VM. I will try to submit two times one now and one again after finishing this test the running VM. Thank you for the wait.

federicosan commented 4 years ago

I am having some trouble testing this, I set everything right as instructed, but the option to change the language to Spanish is not appearing on the master branch on my VM, also some languages maybe Asian and Russian are not rendering properly. I set to look at the app.component.ts file and es is not listed as a language option there, maybe I need to change this and add it?

UPDATE: Editing the file app.component.ts and adding the es to the array langs on line 13 solves this problem and Español is now appearing on the language menu, and everything is working fine.

federicosan commented 4 years ago

Ok, today I will be fixing some mistakes I made on the Menu navbar. And today August 1st some other things up. And I hope I can finish by the end of the day to be on time with my promise.

Btw I already made a PR but it has some mistakes I need to fix on the Navbar, and some terms like runtime that were correctly translated in some parts and not on others. Please read the notes on the PR regarding terms like extrinsics

federicosan commented 4 years ago

I will need some more days to test this. I hope you understand. Thank you for your patience. The translation was ready but while testing I have found some mistakes on the navbar

Web3Foundation commented 4 years ago

@federicosan please submit on Gitcoin once you are done so that we can make the payout, you've been working hard on this one :)

federicosan commented 4 years ago

@Web3Foundation Thank you everyone, for being patient with me.

emielsebastiaan commented 4 years ago

Spanish translation has been merged and activated. Thank you @federicosan @Web3Foundation we can go to payout.

afbeelding

federicosan commented 4 years ago

Can I keep working on this? There is at least one typo I need to correct.

emielsebastiaan commented 4 years ago

Sure we'd appreciate any fix you may have.

federicosan commented 4 years ago

Thanks. I will submit to gitcoin when the gas price decreases, it is between $40 and $20 these days :(

emielsebastiaan commented 4 years ago

You don't have to use Gitcoin for a PR on our repo.

federicosan commented 4 years ago

I need to submit work for the bounty payment or do you know any other way?

@federicosan please submit on Gitcoin once you are done so that we can make the payout, you've been working hard on this one :)

Web3Foundation commented 4 years ago

@federicosan Yes, please make a work submission on Gitcoin so that we can make a payout. Thanks!

federicosan commented 4 years ago

@Web3Foundation Done!

federicosan commented 4 years ago

@Web3Foundation if you can make the payment soon I would like to fund some grants. thank you

owocki commented 4 years ago

hey @Web3Foundation @ceresstaion can you pls remit payout! thanks

owocki commented 4 years ago

@ceresstation

Web3Foundation commented 4 years ago

@federicosan We are experiencing delays with payouts due to insane GAS fees on the Ethereum network. If we would process your payment right now, the transaction would cost $563 USD.

image

owocki commented 4 years ago

hey @Web3Foundation typically when a txn is going to error, metamask will show a very very high gas fee.. i think thast why you're getting that estimate. can you make sure it's being submitted via 0xd9d21d54fb2bf93afc62a7115a2518682a50508b and that the account has enough $$$ for gas (0.02 ETH should suffice) and try again?