-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update fa.json #1138
base: master
Are you sure you want to change the base?
Update fa.json #1138
Conversation
*Added missing lines. *Improved existing translations. *Fully aligned with en.json file. *Used phrases popular in persian crypto communities.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical review
All new strings are displayed OK on the site. All HTML elements embedded in the strings are proper. A few minor in-line suggestions made for extra \n
new line characters which are unnecessary.
In order for Persian to be added to the language dropdown, please add the following segment to the bottom of src/config.yml
:
fa:
contentDir: content/fa
languageName: فارسی
weight: 140
params:
languageDir: rtl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Language review
I am not an Persian speaker, but I ran the entire file through Google Translate and everything looks fine to me. I suggest this PR is good to merge after the suggested changes are made.
add fa to config.yml
All suggestions were taken into effect. I know it's been a long time since the review and the pull request was taken place, and the site has changed a lot. I thought I could go step by step and finish what I started first. I was thinking Maybe syncing translation with the last en.json file in a new pull request is a good idea? |
Sorry, I had to close the last PR.
I used ChatGPT to review my translation. It compared the en and fa texts for each line of text and didn't find any errors. The output is attached here. CHATGPT-REVIEW.md
To reproduce it:
1.Paste this query to Chatgpt and press enter:
I have two texts both use json and html formats. first one is the original which is in english. the second is translated in persian. Review the persian and compare it with the english one in terms of translation. I'm first pasting the english.
2.Paste the en.json content and press enter.
3.Paste the fa.json content and press enter.