-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Description
To improve the user experience for users in Iran, we need to implement localization and optimize network routing rules for the Iranian network environment. This involves translating the UI and configuring sing-box rules to ensure local traffic is routed correctly.
Tasks
1. Localization (Farsi/Persian)
Create a new translation file for Iran (Farsi) based on the existing English configuration.
-
Reference Source: lang/en.json
-
Goal: Translate all UI strings. Please keep in mind that Farsi is a Right-to-Left (RTL) language.
2. Sing-box Rules Optimization
Modify the sing-box rule templates to prioritize direct connections for Iranian local IP addresses and domains. The following files need to be updated:
-
mixed-rules.jsonc
-
tun-rules.jsonc
Specific Requirements:
-
Reference Template: conf-template (v1.12/zh-cn)
-
Modification: Replace the existing direct connection rules (previously optimized for China) with Iran-specific logic.
-
Target Scope: Include .ir top-level domains, popular Iranian websites, and Iranian IP ranges (GeoIP IR).
Resources
-
Localization Files: https://github.com/OneOhCloud/OneBox/tree/main/lang
-
Rule Templates: https://github.com/OneOhCloud/conf-template/tree/stable/conf/1.12/zh-cn
Additional Context
Once these two core tasks (localization and basic direct routing rules) are resolved, I will handle the remaining integration and fine-tuning.