Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Update fa.json #1138

wants to merge 5 commits into from

Conversation

Clopas
Copy link
Contributor

@Clopas Clopas commented Sep 8, 2023

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.

*Added missing lines.
*Improved existing translations.
*Fully aligned with en.json file.
*Used phrases popular in persian crypto communities.
Copy link
Member

@jholdstock jholdstock left a 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

transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
Copy link
Member

@jholdstock jholdstock left a 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.

transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
transifex_catalogs/fa.json Outdated Show resolved Hide resolved
@Clopas
Copy link
Contributor Author

Clopas commented May 31, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants