You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve scalability and prevent inconsistencies, centralize the language navigation links. Use a script to automatically update all README files from a single source, rather than manually editing each one.
// In README.md
... | [English](/README_en.md) | ... | [Türkçe](/README_tr.md) | [فارسی](/README_fa.md)
// In README_en.md
[简体中文](/README.md) | English | ... | [Türkçe](/README_tr.md) | [فارسی](/README_fa.md)
// In README_ru.md
[简体中文](/README.md) | [English](/README_en.md) | Русский | ... | [فارسی](/README_fa.md)
// In README_tr.md
[简体中文](/README.md) | ... | [Русский](/README_ru.md) | Türkçe | [فارسی](/README_fa.md)
// Each README file is updated manually with the new language link.
After:
// In a template file, e.g., `docs/nav_template.md`[简体中文]({zh_link}) | [English]({en_link}) | [Русский]({ru_link}) | [Türkçe]({tr_link}) | [فارسی]({fa_link})
// In each README file, e.g., README.md
<!--NAV_LINKS_PLACEHOLDER-->
// A script runs during the build process
function updateReadmes() {
const template = readFile('docs/nav_template.md');
for (const lang of all_languages) {
const navBar = generateNavBar(template, lang);
replacePlaceholderInFile(`README_${lang}.md`, navBar);
}
}
Suggestion importance[1-10]: 6
__
Why: The suggestion correctly identifies a long-term maintainability issue with manually updating language links in all README files and proposes a valid, scalable automation solution.
Low
General
Fix typo in Persian translation
Correct a typo in the Persian translation for the xposed_description string. The word "جسنجو" should be corrected to "جستجو" for consistency.
-<string name="xposed_description">قابلیت «حلقه جسنجو» را در هر دستگاه اندروید ۹ تا ۱۵ فعال کنید</string>+<string name="xposed_description">قابلیت «حلقه جستجو» را در هر دستگاه اندروید ۹ تا ۱۵ فعال کنید</string>
Apply / Chat
Suggestion importance[1-10]: 5
__
Why: The suggestion correctly identifies a typo in a user-facing Persian string resource. Fixing it improves the quality and consistency of the localization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
This pull request introduces comprehensive support for the Farsi (Persian) language, making the application accessible to Persian-speaking users.
Changes Included
Persianto theLanguageenum inapp/src/main/java/com/parallelc/micts/config/AppConfig.kt.app/src/main/res/values-fa/strings.xmlwith complete translations for all application strings.README_fa.mdto provide documentation for Persian users.README.mdto include a link to the new Persian documentation.This contribution aims to increase the international reach and user base of the project. All translations have been carefully reviewed for accuracy.
PR Type
Enhancement
Description
Add Persian (Farsi) language support to application
Create complete Persian translations for all strings
Add Persian README documentation with full translation
Update language navigation links across all README files
Diagram Walkthrough
File Walkthrough
AppConfig.kt
Add Persian language enum configurationapp/src/main/java/com/parallelc/micts/config/AppConfig.kt
Persianenum entry with Farsi locale configurationstrings.xml
Add complete Persian string translationsapp/src/main/res/values-fa/strings.xml
strings.xml
Add Persian language string entryapp/src/main/res/values/strings.xml
persianstring entry with Persian language nameREADME.md
Update main README language navigationREADME.md
README_en.md
Update English README language navigationREADME_en.md
README_fa.md
Create complete Persian README documentationREADME_fa.md
README_ru.md
Update Russian README language navigationREADME_ru.md
README_tr.md
Update Turkish README language navigationREADME_tr.md