Pangolin Localization Community Event
As the Pangolin community continues to grow, we are welcoming new users from all over the world. To make sure that our website is as international as our user base, we are organizing an event to source translations from the community.
The event will run for a week, from 06/16/2021 00:00 UTC to 06/26/2021 00:00 UTC
The target languages for this event are: Chinese (Mandarin), French, German, Japanese, Spanish & Turkish but more languages might be added in the future, so stay tuned!
Prizes
100 PNG for the best submission in each language (Chinese (Mandarin), French, German, Japanese, Spanish, Turkish)
50 PNG for the runner up in each language
Rules
Only one submission per user (you can not submit in different languages).
If two or more submissions are found to be exactly identical, all will be disqualified.
Selection of the winners will be done by speakers of each language from the Pangolin team
Criteria include accuracy, understandability and how well the translation fit into the current website's interface.
To be valid, translations must be submitted as a pull request to the Pangolin Github repository (see instructions below).
Instructions
The files to be translated are the json files located in the public/locales/
folder on the localization
branch of the interface repository of the Pangolin Github. Select the file corresponding to the language you will translate to:
Note that you only need to translate the values (the part on the right) of the JSON, not the keys (the part on the left, before the colon)!
For instance a translation of
{
"header": {
"swap": "Swap",
"pool": "Pool",
"vote": "Vote",
...
Would look like this:
{
"header": {
"swap": "スワップ",
"pool": "プール",
"vote": "投票",
...
Once you have translated all the values in the JSON file, you can follow the steps below to submit your translation as a pull request on Github:
Create a Github account
Go to https://github.com/pangolindex/interface/tree/localization/public/locales and select the file you have translated.
In the screen that shows up, click on the Pencil icon to Edit the file in your fork of this project:
A new window will open with an editor. You can use it replace the content of the file with that of your translation.
When you are done, navigate to the bottom of the page. If your email is not public in your Github profile or you would like to be contacted some other way if you were to win, you can tell us how to contact you in the Add an optional extended description... field. Feel free to add other comments if you need to.
Once everything is ready click on Propose changes:
You will be taken to a new page to let you review your changes. Make sure that the base repository (underlined in red below) is set to
pangolindex/interface
and the base tolocalization
, check that your changes are good to go and click on Create pull request when you're ready to submit.You will be taken to a new page, just click Create pull request again.
And you're good to go! Thank you for your submission!
Tips
Try to keep user interface constraints in mind when translating. For instance if you translate a 5 letter English word as a 50 letter long expression in your language, the translated expression might not be fully displayed on the site's interface.
Stay consistent, avoid translating the same key terms (swap, pool, token...) differently unless context really calls for it.
Do not translate variables. Variables sometimes appear between curly brackets in the locale file. For instance, in the following string:
"The token list \" {{oldList}} \" has been updated to "
,{{oldList}}
is a variable that will display the name of the updated list. You may change its position in the sentence, but do not translate the name of the variable.Try running the site locally on your computer with your locale before submitting to see how it looks like. Instructions to run the site locally are available in the repository's README.
About Pangolin Exchange
Pangolin Exchange is a community-driven decentralized exchange (DEX) with fast-settlement, low fees, and a democratic process. Built on the Avalanche Network. Pangolin brings you the best trading opportunities to find and maximize your yield.
Website | Twitter | Discord | GitHub | Documentation |Telegram | LinkedIn | Reddit | YouTube